Re: Doc patch on psql output formats - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Doc patch on psql output formats
Date
Msg-id 30649.1542231687@sss.pgh.pa.us
Whole thread Raw
In response to Re: Doc patch on psql output formats  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Doc patch on psql output formats
List pgsql-hackers
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     Tom Lane wrote:
>> Ugh.  Should we not fix the code so that it complains if there's
>> not a unique match?  I would bet that the code was also written
>> on the assumption that any abbrevation must be unique.

> Here's a patch making "\pset format" reject ambiguous abbreviations.

Pushed.  (I simplified the code a bit by using just one state variable,
and also made the error message more verbose.)

            regards, tom lane


pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: In-place updates and serializable transactions
Next
From: Vik Fearing
Date:
Subject: Re: date_trunc() in a specific time zone