Re: about EDITOR_LINENUMBER_SWITCH - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: about EDITOR_LINENUMBER_SWITCH
Date
Msg-id 1318685820.30386.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: about EDITOR_LINENUMBER_SWITCH  (Bruce Momjian <bruce@momjian.us>)
Responses Re: about EDITOR_LINENUMBER_SWITCH  (Andrew Dunstan <andrew@dunslane.net>)
Re: about EDITOR_LINENUMBER_SWITCH  (Bruce Momjian <bruce@momjian.us>)
.psqlrc version dependence (was Re: about EDITOR_LINENUMBER_SWITCH)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On tor, 2011-10-13 at 11:31 -0400, Bruce Momjian wrote:
> The attached patch changes this to use the _major_ version number for
> psql rc files.  Does this have to be backward-compatible?  Should I
> check for minor and major matches?  That is going to be confusing to
> document.

Contrary to what the subject suggests, I think the main reason people
wanted this feature was to be able to set the linestyle to unicode
without getting a warning from older releases about unknown linestyle or
something.  But in a few years, they'll have to
maintain .psqlrc-9.2, .psqlrc-9.3, .psqlrc-9.4, etc.  That doesn't sound
like a useful long-term solution either.




pgsql-hackers by date:

Previous
From: Thomas Girault
Date:
Subject: Re: LIMITing number of results in a VIEW with global variables
Next
From: Andrew Dunstan
Date:
Subject: Re: about EDITOR_LINENUMBER_SWITCH