Re: psql misbehaves because of a simple typo

From: Serguei Mokhov <serguei_mokhov(at)yahoo(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Serguei Mokhov <sa_mokho(at)alcor(dot)concordia(dot)ca>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: psql misbehaves because of a simple typo
Date: 2001-12-28 04:52:58
Message-ID: 20011228045258.57491.qmail@web20507.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


--- Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:

[...]
> See mainloop.c, line 450. Any backshash command resets the counter.
>
> > recomputation of paren_level after the edit occurs. Offhand I do not
> > think that any other backslash commands should reset either the buffer
> > or the counter. Peter, your thoughts?
>
> Re-doing it for the editor is interesting. The other items like quotes
> and stuff should also probably be recomputed too.

Whooof! Looks like psql's sitting on a quite big can of worms.
You don't plan to take them all out before 7.2, do you?

=====
--
Serguei A. Mokhov <mailto:mokhov(at)cs(dot)concordia(dot)ca>

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-12-28 04:53:33 Re: psql misbehaves because of a simple typo
Previous Message Bruce Momjian 2001-12-28 04:42:59 Re: psql misbehaves because of a simple typo