mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +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:
@ -468,8 +468,8 @@ ReorderBufferReturnTupleBuf(ReorderBuffer *rb, ReorderBufferTupleBuf *tuple)
|
||||
Oid *
|
||||
ReorderBufferGetRelids(ReorderBuffer *rb, int nrelids)
|
||||
{
|
||||
Oid *relids;
|
||||
Size alloc_len;
|
||||
Oid *relids;
|
||||
Size alloc_len;
|
||||
|
||||
alloc_len = sizeof(Oid) * nrelids;
|
||||
|
||||
@ -1327,8 +1327,8 @@ ReorderBufferBuildTupleCidHash(ReorderBuffer *rb, ReorderBufferTXN *txn)
|
||||
else
|
||||
{
|
||||
/*
|
||||
* Maybe we already saw this tuple before in this transaction,
|
||||
* but if so it must have the same cmin.
|
||||
* Maybe we already saw this tuple before in this transaction, but
|
||||
* if so it must have the same cmin.
|
||||
*/
|
||||
Assert(ent->cmin == change->data.tuplecid.cmin);
|
||||
|
||||
@ -2464,8 +2464,8 @@ ReorderBufferSerializeChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
|
||||
}
|
||||
case REORDER_BUFFER_CHANGE_TRUNCATE:
|
||||
{
|
||||
Size size;
|
||||
char *data;
|
||||
Size size;
|
||||
char *data;
|
||||
|
||||
/* account for the OIDs of truncated relations */
|
||||
size = sizeof(Oid) * change->data.truncate.nrelids;
|
||||
@ -2767,7 +2767,7 @@ ReorderBufferRestoreChange(ReorderBuffer *rb, ReorderBufferTXN *txn,
|
||||
/* the base struct contains all the data, easy peasy */
|
||||
case REORDER_BUFFER_CHANGE_TRUNCATE:
|
||||
{
|
||||
Oid *relids;
|
||||
Oid *relids;
|
||||
|
||||
relids = ReorderBufferGetRelids(rb,
|
||||
change->data.truncate.nrelids);
|
||||
|
Reference in New Issue
Block a user