source version?

Started by bpalmerabout 22 years ago2 messages
#1bpalmer
bpalmer@crimelabs.net

No luck on general, so I'll try here:

I'm trying to figure out what version of a source code I have. I know
it's a 7.2 release, but how can I find out of it's 7.2, 7.2.3, 7.2.4,
etc. FROM THE SOURCE CODE, not from compiling (it doesn't compile, it's
testing code).

Thanks
- Brandon

----------------------------------------------------------------------------
c: 917-697-8665 h: 201-435-6226
b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5

#2Neil Conway
neilc@samurai.com
In reply to: bpalmer (#1)
Re: source version?

bpalmer <bpalmer@crimelabs.net> writes:

I'm trying to figure out what version of a source code I have. I know
it's a 7.2 release, but how can I find out of it's 7.2, 7.2.3, 7.2.4,
etc. FROM THE SOURCE CODE, not from compiling (it doesn't compile, it's
testing code).

Look in configure.in:

AC_INIT([PostgreSQL], [7.5devel], [pgsql-bugs@postgresql.org])

Or one of the various places that is generated from that, such as the
PG_VERSION or PG_VERSION_STR #defines in src/include/pg_config.h

-Neil