psql patch (2) - Mailing list pgsql-patches

From Jeroen T. Vermeulen
Subject psql patch (2)
Date
Msg-id 20030227180750.GA26730@xs4all.nl
Whole thread Raw
Responses Re: psql patch (2)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: psql patch (2)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
I'm continuing to work on cleaning up code in psql.  As things appear
now, my changes seem to work.  Some possible minor bugs got squished
on the way but I can't be sure without more feedback from people who
really put the code to the test.

The new patch mostly simplifies variable handling and reduces code
duplication.  Changes in the command parser eliminate some redundant
variables (boolean state + depth counter), replaces some
"else if" constructs with switches, and so on.  It is meant to be
applied together with my previous patch, although I hope they don't
conflict; I went back to the CVS version for this one.

One more thing I thought should perhaps be changed: an IGNOREEOF
value of n will ignore only n-1 EOFs.  I didn't want to touch this
for fear of breaking existing applications, but it does seem a tad
illogical.


Jeroen


Attachment

pgsql-patches by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [HACKERS] Simplifying timezone support
Next
From: Joe Conway
Date:
Subject: hashed crosstab