From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: New variable server_version_num |
Date: | 2006-08-12 00:26:45 |
Message-ID: | 20060812002645.GA15195@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-patches |
On Sat, Jul 29, 2006 at 09:14:16PM -0400, Greg Sabino Mullane wrote:
> Today on IRC David Fetter and some others were discussing version
> numbers and we realized that although libpq now provides the version
> of Postgres as a number, this is still a wheel that is being
> reinvented by apps many times over, as it is not available any other
> way. Hence, a small patch to provide a new variable
> "server_version_num", which is almost the same as "server_version"
> but uses the handy PG_VERSION_NUM which allows apps to do things
> like if ($version >= 80200) without having to parse apart the value
> of server_version themselves.
What's the status on applying this patch?
Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter
Remember to vote!
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2006-08-12 00:51:39 | Jasper Reports |
Previous Message | Richard Broersma Jr | 2006-08-11 23:44:49 | Re: Unable to connect to PostgreSQL 8 from PGAdmin III |
From | Date | Subject | |
---|---|---|---|
Next Message | andrew | 2006-08-12 00:31:06 | Re: perl namespace for postgres specific modules? |
Previous Message | Ron Mayer | 2006-08-11 23:33:26 | Re: [HACKERS] Maintaining cluster order on insert |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-08-12 01:42:58 | Re: pgstattuple extension for indexes |
Previous Message | Ron Mayer | 2006-08-11 23:33:26 | Re: [HACKERS] Maintaining cluster order on insert |