Thread: source version?

source version?

From
bpalmer
Date:
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-6226b. palmer,  bpalmer@crimelabs.net           pgp:crimelabs.net/bpalmer.pgp5
 


Re: source version?

From
Neil Conway
Date:
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