mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@ -839,16 +839,16 @@ gistNewBuffer(Relation r)
|
||||
gistcheckpage(r, buffer);
|
||||
|
||||
/*
|
||||
* Otherwise, recycle it if deleted, and too old to have any processes
|
||||
* interested in it.
|
||||
* Otherwise, recycle it if deleted, and too old to have any
|
||||
* processes interested in it.
|
||||
*/
|
||||
if (gistPageRecyclable(page))
|
||||
{
|
||||
/*
|
||||
* If we are generating WAL for Hot Standby then create a
|
||||
* WAL record that will allow us to conflict with queries
|
||||
* running on standby, in case they have snapshots older
|
||||
* than the page's deleteXid.
|
||||
* If we are generating WAL for Hot Standby then create a WAL
|
||||
* record that will allow us to conflict with queries running
|
||||
* on standby, in case they have snapshots older than the
|
||||
* page's deleteXid.
|
||||
*/
|
||||
if (XLogStandbyInfoActive() && RelationNeedsWAL(r))
|
||||
gistXLogPageReuse(r, blkno, GistPageGetDeleteXid(page));
|
||||
|
Reference in New Issue
Block a user