Обсуждение: how to find version?
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 ---------------------------------------------------------------------------- c: 917-697-8665 h: 201-435-6226 b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5
On Sat, 15 Nov 2003, bpalmer wrote: > 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). grep VERSION configure
> > > 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). > > grep VERSION configure I did try that, but I'm still having a "much" larger than expected diff between the two code bases. *shrug* ok. Thanks, - Brandon ---------------------------------------------------------------------------- c: 917-697-8665 h: 201-435-6226 b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5
You should see a lines like this in configure.in [lines 28-33 of configure.in for 7.2.4] AC_PREREQ(2.13) AC_CONFIG_AUX_DIR(config) VERSION='7.2.4' AC_SUBST(VERSION) AC_DEFINE_UNQUOTED(PG_VERSION, "$VERSION") best wishes Mark bpalmer wrote: >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 > >---------------------------------------------------------------------------- > c: 917-697-8665 h: 201-435-6226 > b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5 > >---------------------------(end of broadcast)--------------------------- >TIP 7: don't forget to increase your free space map settings > > > >
If the database is running it will tell you when you log into it with psql. bpalmer wrote: >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 > >---------------------------------------------------------------------------- > c: 917-697-8665 h: 201-435-6226 > b. palmer, bpalmer@crimelabs.net pgp:crimelabs.net/bpalmer.pgp5 > >---------------------------(end of broadcast)--------------------------- >TIP 7: don't forget to increase your free space map settings > > -- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC - S/JDBC Postgresql support, programming, shared hosting and dedicated hosting. +1-503-222-2783 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL.Org - Editor-N-Chief - http://www.postgresql.org