pgsql: psql: Support zero byte field and record separators

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: psql: Support zero byte field and record separators
Date: 2012-02-09 18:20:56
Message-ID: E1RvYc4-0003U1-75@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2012-02-09 18:25:53 Re: [COMMITTERS] pgsql: Add new keywords SNAPSHOT and TYPES to the keyword list in gram.
Previous Message Robert Haas 2012-02-09 17:40:12 pgsql: Attempt to fix MSVC builds and other fls-related breakage.