psql: Support zero byte field and record separators
Peter Eisentraut <peter_e@gmx.net>
psql: Support zero byte field and record separators Add new psql settings and command-line options to support setting the field and record separators for unaligned output to a zero byte, for easier interfacing with other shell tools. reviewed by Abhijit Menon-Sen
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +41 −0 |
| src/bin/psql/command.c | modified | +34 −7 |
| src/bin/psql/help.c | modified | +6 −2 |
| src/bin/psql/print.c | modified | +40 −28 |
| src/bin/psql/print.h | modified | +8 −2 |
| src/bin/psql/startup.c | modified | +25 −7 |