Re: Double newline bug with DBD::Pg: Where best to fix?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Double newline bug with DBD::Pg: Where best to fix?
Дата
Msg-id 19053.983386933@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Double newline bug with DBD::Pg: Where best to fix?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-interfaces
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Peter, I have thought about this some more.   Seems we either add the
> 'quote' check, or remove the optimizations completely.  Because we have
> to change it one way or the other for 7.1, it seems we should just
> remove the tests totally.

It's kind of handy that, for example, you can hit return a few times
without causing psql to think that something's been put into the query
buffer.  I'm worried that removing this code entirely might lead to
problems like failure to recognize backslash commands preceded by
whitespace.

Peter's patch looks like the most conservative fix to me ...
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Double newline bug with DBD::Pg: Where best to fix?
Следующее
От: aong
Дата:
Сообщение: pgaccess