Remove unreferenced function declarations.
authorTom Lane <[email protected]>
Fri, 5 Jul 2019 23:28:45 +0000 (19:28 -0400)
committerTom Lane <[email protected]>
Fri, 5 Jul 2019 23:28:45 +0000 (19:28 -0400)
These seem to be leftovers from old patches, perhaps.

Masahiko Sawada

Discussion: https://postgr.es/m/CAD21AoDuAYsRb3Q9aobkFZ6DZMWxsyg4HOmgkwgeWNfSkTwGxw@mail.gmail.com

src/include/access/transam.h
src/include/commands/tablecmds.h
src/include/utils/dsa.h

index 6cbb0c82c736ef7978dcbf38cd15168fa1895930..33fd052156f86bb7f71a4212b5df5c7a386cd742 100644 (file)
@@ -209,7 +209,6 @@ extern PGDLLIMPORT VariableCache ShmemVariableCache;
 extern bool TransactionIdDidCommit(TransactionId transactionId);
 extern bool TransactionIdDidAbort(TransactionId transactionId);
 extern bool TransactionIdIsKnownCompleted(TransactionId transactionId);
-extern void TransactionIdAbort(TransactionId transactionId);
 extern void TransactionIdCommitTree(TransactionId xid, int nxids, TransactionId *xids);
 extern void TransactionIdAsyncCommitTree(TransactionId xid, int nxids, TransactionId *xids, XLogRecPtr lsn);
 extern void TransactionIdAbortTree(TransactionId xid, int nxids, TransactionId *xids);
index b09afa2775b9d1cf5951dff9db0d9020745d5c60..ac2bfaff1e4bdc10d1030fdde06d95e2f9485437 100644 (file)
@@ -60,8 +60,6 @@ extern void SetRelationHasSubclass(Oid relationId, bool relhassubclass);
 
 extern ObjectAddress renameatt(RenameStmt *stmt);
 
-extern ObjectAddress renameatt_type(RenameStmt *stmt);
-
 extern ObjectAddress RenameConstraint(RenameStmt *stmt);
 
 extern ObjectAddress RenameRelation(RenameStmt *stmt);
index ddd3cef8c2fc0cd77ee53f2539f15a68841e6ae7..991b62d28c4c7ddf77137f1cb6d90fb66f5e530d 100644 (file)
@@ -99,8 +99,6 @@ typedef pg_atomic_uint64 dsa_pointer_atomic;
  */
 typedef dsm_handle dsa_handle;
 
-extern void dsa_startup(void);
-
 extern dsa_area *dsa_create(int tranche_id);
 extern dsa_area *dsa_create_in_place(void *place, size_t size,
                                                                         int tranche_id, dsm_segment *segment);