mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.27 2001/09/17 00:29:10 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/tid.c,v 1.28 2001/10/25 05:49:45 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* input routine largely stolen from boxin().
|
||||
@ -116,7 +116,6 @@ tidne(PG_FUNCTION_ARGS)
|
||||
BlockIdGetBlockNumber(&(arg2->ip_blkid)) ||
|
||||
arg1->ip_posid != arg2->ip_posid);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -125,7 +124,7 @@ tidne(PG_FUNCTION_ARGS)
|
||||
* Maybe these implementations should be moved to another place
|
||||
*/
|
||||
|
||||
static ItemPointerData Current_last_tid = { {0, 0}, 0};
|
||||
static ItemPointerData Current_last_tid = {{0, 0}, 0};
|
||||
|
||||
void
|
||||
setLastTid(const ItemPointer tid)
|
||||
@ -142,11 +141,11 @@ currtid_byreloid(PG_FUNCTION_ARGS)
|
||||
Relation rel;
|
||||
|
||||
result = (ItemPointer) palloc(sizeof(ItemPointerData));
|
||||
if (!reloid)
|
||||
{
|
||||
*result = Current_last_tid;
|
||||
PG_RETURN_ITEMPOINTER(result);
|
||||
}
|
||||
if (!reloid)
|
||||
{
|
||||
*result = Current_last_tid;
|
||||
PG_RETURN_ITEMPOINTER(result);
|
||||
}
|
||||
ItemPointerCopy(tid, result);
|
||||
if ((rel = heap_open(reloid, AccessShareLock)) != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user