Re: psql misbehaves because of a simple typo

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: psql misbehaves because of a simple typo
Дата
Msg-id 200112280422.fBS4Mc325606@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: psql misbehaves because of a simple typo  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > The fact that backslash commands inside parens clear the
> > counter is a minor anoyance but resonable behavior.
> 
> If they cleared the command buffer too, it might be construed
> as novice-friendly behavior (though I'd still call it broken).
> However, letting the counter get out of sync with the buffer
> contents cannot be called anything but a bug.

Maybe we should clear the counter _only_ if the user clears the buffer,
or sends the query to the backend with \g.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Glitches in heapam.c xlog redo routines
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql misbehaves because of a simple typo