Fix psql to cope with autocommit off, at least during startup.
Tom Lane <tgl@sss.pgh.pa.us>
Fix psql to cope with autocommit off, at least during startup. Behavior of backslash commands (especially for large objects) may still require some thought.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +8 −4 |
| src/bin/psql/common.c | modified | +32 −12 |
| src/bin/psql/common.h | modified | +2 −2 |
| src/bin/psql/copy.c | modified | +2 −2 |
| src/bin/psql/describe.c | modified | +23 −23 |
| src/bin/psql/large_obj.c | modified | +11 −11 |