1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +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

@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.20 1998/09/01 04:32:08 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.21 1998/10/08 18:30:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -72,12 +72,15 @@ static f_smgr smgrsw[] = {
* write-once storage managers.
*/
#ifdef NOT_USED
static bool smgrwo[] = {
false, /* magnetic disk */
#ifdef STABLE_MEMORY_STORAGE
false, /* main memory */
#endif
};
#endif
static int NSmgr = lengthof(smgrsw);
/*
@@ -396,6 +399,7 @@ smgrabort()
#endif
#ifdef NOT_USED
bool
smgriswo(int16 smgrno)
{
@@ -404,3 +408,4 @@ smgriswo(int16 smgrno)
return smgrwo[smgrno];
}
#endif