1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Make functions static or ifdef NOT_USED. Prevent pg_version creation.

This commit is contained in:
Bruce Momjian
1998-10-08 18:30:52 +00:00
parent 0a1c2805b3
commit 173c555948
52 changed files with 173 additions and 164 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.24 1998/10/06 02:39:58 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.25 1998/10/08 18:29:15 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@@ -262,7 +262,6 @@ SetTransactionFlushEnabled(bool state)
TransactionFlushState = (state == true);
}
#endif
/* --------------------------------
* IsTransactionState
@@ -297,6 +296,7 @@ IsTransactionState(void)
*/
return false;
}
#endif
/* --------------------------------
* IsAbortedTransactionBlockState

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.17 1998/09/01 03:21:34 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.18 1998/10/08 18:29:18 momjian Exp $
*
* OLD COMMENTS
* XXX WARNING
@@ -53,6 +53,7 @@ xidout(TransactionId transactionId)
}
#ifdef NOT_USED
/* ----------------------------------------------------------------
* TransactionIdIsLessThan
* ----------------------------------------------------------------
@@ -62,6 +63,7 @@ TransactionIdIsLessThan(TransactionId id1, TransactionId id2)
{
return (bool) (id1 < id2);
}
#endif
/* ----------------------------------------------------------------
* xideq