Re: [HACKERS] psql problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] psql problem
Дата
Msg-id Pine.GSO.4.02A.10002171218580.2933-100000@Oxe.DoCS.UU.SE
обсуждение исходный текст
Ответ на Re: [HACKERS] psql problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 16 Feb 2000, Tom Lane wrote:

> No, I think Chris was complaining about the behavior with an
> incomplete query in the buffer.  I can't show it with current
> sources since psql is exiting on ^C, but 6.5 works like this:
> 
> play=> foobar
> play-> ^C
> CANCEL request sent
>                         <-- return typed here to get a prompt

Actually, I have an idea why that is, too. The signal handler should tell
readline that input is done. At the time you press return there, it's
still reading input.

> play-> select 2+2;
> ERROR:  parser: parse error at or near "foobar"
> play=>

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] psql problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] psql password prompt