aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-11-11 14:24:38 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-11-11 14:24:38 +0000
commitb0961b3974a064419006db55115b93564ac9d40e (patch)
tree63de58b780776fd5913aff7de850f9dccb073bac
parenta157098f7c9458351061b30a8f2db460f49f1ea6 (diff)
downloadpostgresql-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.h24
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