mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Pgindent run before 9.1 beta2.
This commit is contained in:
@ -1077,12 +1077,12 @@ read_info(SeqTable elm, Relation rel, Buffer *buf)
|
||||
tuple.t_data = (HeapTupleHeader) PageGetItem(page, lp);
|
||||
|
||||
/*
|
||||
* Previous releases of Postgres neglected to prevent SELECT FOR UPDATE
|
||||
* on a sequence, which would leave a non-frozen XID in the sequence
|
||||
* tuple's xmax, which eventually leads to clog access failures or worse.
|
||||
* If we see this has happened, clean up after it. We treat this like a
|
||||
* hint bit update, ie, don't bother to WAL-log it, since we can certainly
|
||||
* do this again if the update gets lost.
|
||||
* Previous releases of Postgres neglected to prevent SELECT FOR UPDATE on
|
||||
* a sequence, which would leave a non-frozen XID in the sequence tuple's
|
||||
* xmax, which eventually leads to clog access failures or worse. If we
|
||||
* see this has happened, clean up after it. We treat this like a hint
|
||||
* bit update, ie, don't bother to WAL-log it, since we can certainly do
|
||||
* this again if the update gets lost.
|
||||
*/
|
||||
if (HeapTupleHeaderGetXmax(tuple.t_data) != InvalidTransactionId)
|
||||
{
|
||||
|
Reference in New Issue
Block a user