Code review for psql multiline history patch(es). Fix memory leak,
Tom Lane <tgl@sss.pgh.pa.us>
Code review for psql multiline history patch(es). Fix memory leak, failure to enter commands in history if canceled by control-C, other infelicities.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +2 −10 |
| src/bin/psql/help.c | modified | +1 −2 |
| src/bin/psql/input.c | modified | +58 −69 |
| src/bin/psql/input.h | modified | +5 −5 |
| src/bin/psql/mainloop.c | modified | +63 −71 |
| src/bin/psql/prompt.c | modified | +1 −2 |
| src/bin/psql/tab-complete.c | modified | +2 −2 |