Andres Freund <and...@anarazel.de> writes: > On 2015-07-19 11:28:25 -0400, Tom Lane wrote: >> At this point session 1 will go and create page 44, won't it, and you >> just wasted a page.
> My local code now recognizes that case and uses the page. We just need > to do an PageIsNew(). Er, what? How can you tell whether an all-zero page was or was not just written by another session? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers