mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Use new utils/version.c instead of backend/utils/init/magic.c.
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: miscadmin.h,v 1.2 1996/11/06 10:28:59 scrappy Exp $
|
||||
* $Id: miscadmin.h,v 1.3 1996/11/12 06:47:10 bryanh Exp $
|
||||
*
|
||||
* NOTES
|
||||
* some of the information in this file will be moved to
|
||||
@ -69,14 +69,6 @@ extern Oid LastOidProcessed; /* for query rewrite */
|
||||
*/
|
||||
#define NDBUFS 64
|
||||
|
||||
/*****************************************************************************
|
||||
* magic.h - definitions of the indexes of the magic numbers *
|
||||
*****************************************************************************/
|
||||
|
||||
#define PG_RELEASE 6
|
||||
#define PG_VERSION 0
|
||||
#define PG_VERFILE "PG_VERSION"
|
||||
|
||||
/*****************************************************************************
|
||||
* pdir.h -- *
|
||||
* POSTGRES directory path definitions. *
|
||||
@ -148,7 +140,6 @@ typedef int16 ExitStatus;
|
||||
|
||||
/* in utils/init/postinit.c */
|
||||
extern void InitMyDatabaseId(void);
|
||||
extern void DoChdirAndInitDatabaseNameAndPath(char *name, char *path);
|
||||
extern void InitUserid(void);
|
||||
extern void InitCommunication(void);
|
||||
extern void InitStdio(void);
|
||||
@ -170,12 +161,4 @@ extern bool IsNormalProcessingMode(void);
|
||||
extern void SetProcessingMode(ProcessingMode mode);
|
||||
extern ProcessingMode GetProcessingMode(void);
|
||||
|
||||
|
||||
/*
|
||||
* Prototypes for utils/init/magic.c
|
||||
*/
|
||||
extern int DatabaseMetaGunkIsConsistent(const char *database, char *path);
|
||||
extern int ValidPgVersion(const char *path);
|
||||
extern void SetPgVersion(const char *path);
|
||||
|
||||
#endif /* MISCADMIN_H */
|
||||
|
Reference in New Issue
Block a user