From: Bryan Henderson Date: Mon, 11 Nov 1996 14:24:38 +0000 (+0000) Subject: Goes with the recently added src/utils/version.c, will replace some stuff in X-Git-Tag: REL2_0~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b0961b3974a064419006db55115b93564ac9d40e;p=postgresql Goes with the recently added src/utils/version.c, will replace some stuff in miscadmin.h. --- diff --git a/src/include/version.h b/src/include/version.h new file mode 100644 index 0000000000..ecdaa860f7 --- /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