Re: psql misbehaves because of a simple typo - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql misbehaves because of a simple typo
Date
Msg-id 28649.1009512697@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql misbehaves because of a simple typo  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: psql misbehaves because of a simple typo  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: psql misbehaves because of a simple typo  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The fact that backslash commands inside parens clear the
> counter is a minor anoyance but resonable behavior.

If they cleared the command buffer too, it might be construed
as novice-friendly behavior (though I'd still call it broken).
However, letting the counter get out of sync with the buffer
contents cannot be called anything but a bug.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql misbehaves because of a simple typo
Next
From: Hiroshi Inoue
Date:
Subject: Re: Glitches in heapam.c xlog redo routines