From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Make psql version aware; hide tablespace from older versions |
Date: | 2004-08-08 01:00:10 |
Message-ID: | 4254.1091926810@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> It's nice, but currently there are a lot of ways in which psql is broken
> regarding older server versions. We should be caring about all of them
> (ideal), or about none (the current situation).
> There have been proposals in the past about making that happen. You
> could investigate that (please do -- I'd love to have a cross-version
> psql, in the same way we have a cross-version compatible pg_dump). The
> way of your patch is certain to lead into a mantainance nightmare :-(
Also, I see no need to write your own code to get the server version.
libpq already does this. It doesn't currently export an API to find it
out, but I'd rather add that than have psql duplicate the effort.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2004-08-08 01:00:18 | Re: Make psql version aware; hide tablespace from older versions |
Previous Message | Andreas Pflug | 2004-08-08 00:46:57 | Re: Win32 tablespace |