Unix Technical Forum

pgsql: Take exclusive buffer lock in scan_heap() to eliminate some

This is a discussion on pgsql: Take exclusive buffer lock in scan_heap() to eliminate some within the pgsql Committers forums, part of the PostgreSQL category; --> Log Message: ----------- Take exclusive buffer lock in scan_heap() to eliminate some corner cases in which invalid page data ...


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-10-2008, 12:41 PM
Tom Lane
 
Posts: n/a
Default pgsql: Take exclusive buffer lock in scan_heap() to eliminate some

Log Message:
-----------
Take exclusive buffer lock in scan_heap() to eliminate some corner cases
in which invalid page data could be transiently written to disk by
concurrent bgwriter activity. There doesn't seem any risk of loss of
actual user data, but an empty page could possibly be left corrupt if a
crash occurs before the correct data gets written out. Pointed out by
Alvaro Herrera.

Modified Files:
--------------
pgsql/src/backend/commands:
vacuum.c (r1.314 -> r1.315)
(http://developer.postgresql.org/cvsw...1.314&r2=1.315)
vacuumlazy.c (r1.58 -> r1.59)
(http://developer.postgresql.org/cvsw...1=1.58&r2=1.59)

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

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 10:54 PM.


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