psql: Support zero byte field and record separators
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 9 Feb 2012 18:15:48 +0000 (20:15 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 9 Feb 2012 18:20:15 +0000 (20:20 +0200)
commit169c8a911260bd5a8b6910c458afa57a1ae29627
treebfd5b4ee2f9ab327fa19337492b36794b3f31d25
parentdd7c84185c160bb0d95bd265182f24f1f6c21924
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
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/help.c
src/bin/psql/print.c
src/bin/psql/print.h
src/bin/psql/startup.c