"Daniel Verite" <dan...@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