diff options
author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-11 14:24:38 +0000 |
---|---|---|
committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-11 14:24:38 +0000 |
commit | b0961b3974a064419006db55115b93564ac9d40e (patch) | |
tree | 63de58b780776fd5913aff7de850f9dccb073bac | |
parent | a157098f7c9458351061b30a8f2db460f49f1ea6 (diff) | |
download | postgresql-b0961b3974a064419006db55115b93564ac9d40e.tar.gz postgresql-b0961b3974a064419006db55115b93564ac9d40e.zip |
Goes with the recently added src/utils/version.c, will replace some stuff in
miscadmin.h.
-rw-r--r-- | src/include/version.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/version.h b/src/include/version.h new file mode 100644 index 00000000000..ecdaa860f7d --- /dev/null +++ b/src/include/version.h @@ -0,0 +1,24 @@ +/*------------------------------------------------------------------------- + * + * version.h-- + * this file contains the interface to version.c. + * Also some parameters. + * + * $Id: version.h,v 1.1 1996/11/11 14:24:38 bryanh Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef VERSION_H +#define VERSION_H + +void +ValidatePgVersion(const char *path, char **reason_p); + +void +SetPgVersion(const char *path, char **reason_p); + +#define PG_RELEASE 6 +#define PG_VERSION 0 +#define PG_VERFILE "PG_VERSION" + +#endif |