OSDN Git Service

Here's some changes I made last night to psql's common.c (as found in
authorBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 06:00:12 +0000 (06:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 20 Mar 2003 06:00:12 +0000 (06:00 +0000)
commitbe1c6e75293fac69453d2ca6fc99d642f7806dfa
tree2a04d65ba66fa3fc746426b56a3c2377c2d43174
parent94701fb24b4397a4fc1a8441980ed499a8cc991c
Here's some changes I made last night to psql's common.c (as found in
7.3.2).  It removes some code duplication and #ifdeffing, and some
unstructured ugliness such as tacky breaks and an unneeded continue.
Breaks up a large function into smaller functions and reduces required
nesting levels, and kills a variable or two.

Jeroen T. Vermeulen
src/bin/psql/common.c
src/bin/psql/common.h
src/bin/psql/copy.c
src/bin/psql/input.c
src/bin/psql/input.h
src/bin/psql/mainloop.c