Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group