Thread: pgsql: psql: Support zero byte field and record separators

pgsql: psql: Support zero byte field and record separators

From
Peter Eisentraut
Date:
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/169c8a911260bd5a8b6910c458afa57a1ae29627

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   41 ++++++++++++++++++++++++
src/bin/psql/command.c         |   41 ++++++++++++++++++++----
src/bin/psql/help.c            |    8 +++-
src/bin/psql/print.c           |   68 +++++++++++++++++++++++----------------
src/bin/psql/print.h           |   10 +++++-
src/bin/psql/startup.c         |   32 ++++++++++++++----
6 files changed, 154 insertions(+), 46 deletions(-)