psql's \r does not reset parenthesis depth counter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: psql's \r does not reset parenthesis depth counter
Date: 2002-03-17 18:12:04
Message-ID: 20219.1016388724@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

In current sources:

regression=# create table tt1 (i2 int2, i4 int4, f8 float8,
regression(# \r
Query buffer reset (cleared).
regression(# select 2;
regression(# -- nothing happens because psql still wants a right paren

Not sure if there is any other state that needs to be reset along
with the paren counter.

regards, tom lane

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2002-03-17 21:55:15 Re: psql's \r does not reset parenthesis depth counter
Previous Message Rod Taylor 2002-03-17 00:56:48 7.2 crash...