Re: Make psql version aware; hide tablespace from older versions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Make psql version aware; hide tablespace from older versions
Date: 2004-08-10 00:27:38
Message-ID: 22183.1092097658@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> Would something like this be acceptable?:
> (int) PQversionNumber
> as a simple interface to the sversion variable?

I think "version" is a little too nonspecific. We already have

extern int PQprotocolVersion(const PGconn *conn);

so consistency would suggest

extern int PQserverVersion(const PGconn *conn);

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Dave Page 2004-08-10 08:15:14 Re: Win32 PostgreSQL 8.0 Beta 1 Installer available for download
Previous Message Tom Lane 2004-08-09 23:58:07 Bug: century/millenium still broken