Re: Module dependency on PostgeSQL version - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Module dependency on PostgeSQL version
Date
Msg-id 722b67084cca4205aef84fecd3c6443d@biglumber.com
Whole thread Raw
In response to Module dependency on PostgeSQL version  (Thomas Hallgren <thhal@mailblocks.com>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DBD::Pg uses "pg_config --version" and parses the output to set the
version information before compiling. It finds pg_config by using
PG envrironment variables, or looks in the path. Once running, it
does a SELECT version() to find out what server it is running
against. Whenever possible, is now uses the new protocol version
information. It's much handier to just say:
if (protocol>=3) {
...
}
- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200405112153
-----BEGIN PGP SIGNATURE-----
iD8DBQFAoYRyvJuQZxSWSsgRAj8oAJwP4AxEYsBwnbeo4Aw97JtCpUC4tACgo0P1
WMvC9yck8REb15E4uod56hA=
=C2GF
-----END PGP SIGNATURE-----




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Probably security hole in postgresql-7.4.1
Next
From: Bruce Momjian
Date:
Subject: Re: XLog: how to log?