Re: Refactoring psql for backward-compatibility - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Refactoring psql for backward-compatibility
Date
Msg-id 43A0C4EE.7060308@familyhealth.com.au
Whole thread Raw
In response to Refactoring psql for backward-compatibility  (David Fetter <david@fetter.org>)
Responses Re: Refactoring psql for backward-compatibility
List pgsql-hackers
> Neil Conway suggested something like a get_function_list(), which I
> presume would be called on connect, and would be version-aware.  Does
> this seem like a good idea?  If so, what might an implementation look
> like?  I know C isn't all that great for function overloading, so do
> we want to keep all the SQL for all previous versions in memory,
> or...?

If it was me I'd just copy the pg_dump way of doing things...

Chris



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Extended queries
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: psql and COPY BINARY