mirror of
https://github.com/postgres/postgres.git
synced 2025-11-29 23:43:17 +03:00
pgindent run for 9.0
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* Author: Jan Wieck, Afilias USA INC.
|
||||
* 64-bit txids: Marko Kreen, Skype Technologies
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/txid.c,v 1.12 2010/02/20 21:24:02 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/adt/txid.c,v 1.13 2010/02/26 02:01:10 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -330,11 +330,10 @@ txid_current(PG_FUNCTION_ARGS)
|
||||
TxidEpoch state;
|
||||
|
||||
/*
|
||||
* Must prevent during recovery because if an xid is
|
||||
* not assigned we try to assign one, which would fail.
|
||||
* Programs already rely on this function to always
|
||||
* return a valid current xid, so we should not change
|
||||
* this to return NULL or similar invalid xid.
|
||||
* Must prevent during recovery because if an xid is not assigned we try
|
||||
* to assign one, which would fail. Programs already rely on this function
|
||||
* to always return a valid current xid, so we should not change this to
|
||||
* return NULL or similar invalid xid.
|
||||
*/
|
||||
PreventCommandDuringRecovery("txid_current()");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user