Re: Making sure \timing is on

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Making sure \timing is on
Дата
Msg-id 20080512215757.GB22159@fetter.org
обсуждение исходный текст
Ответ на Re: Making sure \timing is on  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Making sure \timing is on
Список pgsql-general
On Mon, May 12, 2008 at 05:30:48PM -0400, Bruce Momjian wrote:
> David Fetter wrote:
> > On Sun, May 11, 2008 at 11:48:29PM -0400, Tom Lane wrote:
> > > "Scott Marlowe" <scott.marlowe@gmail.com> writes:
> > > > Is it reasonable behavior to have \timing along toggle and \timing on
> > > > / \timing off be a forced switch?  Just thinking of other scripts
> > > > where this isn't a problem and having to update them.
> > >
> > > The command without an argument should certainly keep the old toggle
> > > behavior, for backwards compatibility.
> >
> > Attached patch does some of the right thing, but doesn't yet handle
> > error cases.  How liberal should we be about capitalization, spelling,
> > etc.?
>
> Please try ParseVariableBool() in psql/variables.c, and use diff -c.

Thanks for the heads-up :)

Second patch attached, this time with some docs.

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: rounding problems
Следующее
От: "A.M."
Дата:
Сообщение: Re: changing the endianness of a database