From 169c8a911260bd5a8b6910c458afa57a1ae29627 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 9 Feb 2012 20:15:48 +0200 Subject: 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 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index a9b1ed2699d..55aa5f2ac1d 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -482,6 +482,27 @@ PostgreSQL documentation + + + + + + Set the field separator for unaligned output to a zero byte. + + + + + + + + + + Set the record separator for unaligned output to a zero byte. This is + useful for interfacing, for example, with xargs -0. + + + + @@ -1908,6 +1929,16 @@ lo_import 152801 + + fieldsep_zero + + + Sets the field separator to use in unaligned output format to a zero + byte. + + + + footer @@ -2077,6 +2108,16 @@ lo_import 152801 + + recordsep_zero + + + Sets the record separator to use in unaligned output format to a zero + byte. + + + + tableattr (or T) -- cgit v1.2.3