Unix Technical Forum

pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of

This is a discussion on pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines that examine fields that could change ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Committers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 01:38 AM
Tom Lane
 
Posts: n/a
Default pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of

Log Message:
-----------
Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines
that examine fields that could change under them. This is just to make
really sure that when we are fetching a value 'only once', that's what
actually happens. Possibly this is a bug that should be back-patched,
but in the absence of solid evidence that it's needed, I won't bother.

Modified Files:
--------------
pgsql/src/backend/storage/ipc:
procarray.c (r1.29 -> r1.30)
(http://developer.postgresql.org/cvsw...1=1.29&r2=1.30)

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com