Re: review: psql and pset without any arguments

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Erik Rijkers <er(at)xs4all(dot)nl>, Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
Subject: Re: review: psql and pset without any arguments
Date: 2013-09-30 10:49:00
Message-ID: CAB8KJ=ixWTzvqcGfRX0aUZu3OMkFSTe_CtdMFVym4hy+vnvhXQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2013/9/30 Gilles Darold <gilles(dot)darold(at)dalibo(dot)com>:
(...)
> That's right, here is the patch modified with just a little change with
> your suggestion:
>
> if (popt->topt.numericLocale)
> printf(_("Locale-adjusted numeric output (%s) is
> on.\n"), param);
> else
> printf(_("Locale-adjusted numeric output (%s) is
> off.\n"), param);

I'm a bit late to this thread, but I'd just like to say I find this a useful
feature which I've missed on the odd occasion.

BTW there is a slight typo in the patch, "s" should be "is":

"Output format (format) s aligned."

+ printf(_("Output format (%s) s %s.\n"), param,
+ _align2string(popt->topt.format));

Regards

Ian Barwick

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-09-30 11:07:42 Re: Minmax indexes
Previous Message Pavel Stehule 2013-09-30 10:22:54 Re: proposal: lob conversion functionality