summaryrefslogtreecommitdiff
path: root/src/include/version.h.in
blob: 699b136bfbdeebad59702e5eeb0fdbe594f7e16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*-------------------------------------------------------------------------
 *
 * version.h.in--
 *	  this file contains the interface to version.c.
 *	  Also some parameters.
 *
 * $Header: /cvsroot/pgsql/src/include/Attic/version.h.in,v 1.2 1998/06/09 22:59:04 momjian 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		"4"
#define PG_SUBVERSION	"0"

#define PG_VERFILE		"PG_VERSION"

#define PG_VERSION_STR  "PostgreSQL " ## PG_RELEASE ## "." ## PG_VERSION ## "." ## PG_SUBVERSION ## " on @host@, compiled by @CC@ @CC_VERSION@"

#endif