From: | Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, chris(at)bitmead(dot)com, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] psql problem |
Date: | 2000-02-17 11:21:03 |
Message-ID: | Pine.GSO.4.02A.10002171218580.2933-100000@Oxe.DoCS.UU.SE |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2000-02-17 11:25:16 | Re: [HACKERS] psql password prompt |
Previous Message | Peter Eisentraut | 2000-02-17 11:17:09 | Re: [HACKERS] psql problem |