Skip site navigation (1) Skip section navigation (2)

Re: [COMMITTERS] pgsql: Add new variable

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Add new variable
Date: 2006-09-02 14:48:51
Message-ID: 200609021448.k82EmpR18136@momjian.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Tom Lane wrote:
> momjian(at)postgresql(dot)org (Bruce Momjian) writes:
> > Add 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.
> 
> I thought this was rejected as being utterly useless.  Or is this commit
> somehow going to retroactively affect existing old servers?

You were the only one to object, as I remember.  Others like it.  The
fact it was not in older releases was not a huge problem to them.  We
could actually backpatch it if we wanted.

> A non-useless version of this would be client-side code ... except it's
> already there, in libpq at least.

There is no sense in having all clients reinvent this.

I am not applying patches where everyone is going to agree to the
feature.  It only requires a majority.  If you want a vote, we can do
that.  Same for the plpython patch.

-- 
  Bruce Momjian   bruce(at)momjian(dot)us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-hackers by date

Next:From: Hannu KrosingDate: 2006-09-02 14:49:19
Subject: Re: [COMMITTERS] pgsql: Allow PL/python to return
Previous:From: Bruce MomjianDate: 2006-09-02 14:46:42
Subject: Re: [COMMITTERS] pgsql: Allow PL/python to return composite

pgsql-committers by date

Next:From: Hannu KrosingDate: 2006-09-02 14:49:19
Subject: Re: [COMMITTERS] pgsql: Allow PL/python to return
Previous:From: Bruce MomjianDate: 2006-09-02 14:46:42
Subject: Re: [COMMITTERS] pgsql: Allow PL/python to return composite

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group