From f565cf41ab8d71df0f4bece5443679d249258b17 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 18 Jan 2000 23:30:24 +0000 Subject: another set of cleanups --- doc/src/sgml/ref/psql-ref.sgml | 55 +++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 20 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 88a15fe631e..4e3d5554801 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -851,6 +851,16 @@ lo_import 152801 + + recordsep + + + Specifies the record (line) separator to use in unaligned output mode. The default + is a newline character. + + + + tuples_only (or t) @@ -1900,12 +1910,14 @@ testdb=> \set content `sed -e "s/'/\\\\\\'/g" < my_file.txt` %M - The hostname of the database server (or . if Unix domain socket). + The hostname of the database server (or . + if Unix domain socket). %m - The hostname of the database server truncated after the first dot. + The hostname of the database server truncated after the + first dot. @@ -1915,7 +1927,8 @@ testdb=> \set content `sed -e "s/'/\\\\\\'/g" < my_file.txt` %n - The username you are connected as (not your local system user name). + The username you are connected as (not your local system + user name). @@ -1925,37 +1938,39 @@ testdb=> \set content `sed -e "s/'/\\\\\\'/g" < my_file.txt` %~ - Like %/, but the output is ~ (tilde) if the database - is your default database. + Like %/, but the output is ~ + (tilde) if the database is your default database. %# - If the username is postgres, a #, otherwise a >. + If the username is postgres, a + #, otherwise a >. %R - In prompt 1 normally =, but ^ if in single-line mode, and - ! if the session is disconnected from the database (which can only - happen if \connect fails). - In prompt 2 the sequence is replaced by -, *, a single quote, - or a double quote, depending on whether psql expects more input - because the query wasn't terminated yet, because you are inside a /* ... */ - comment, or because you are inside a quote. - In prompt 3 the sequence doesn't resolve to anything. + In prompt 1 normally =, but ^ if in single-line + mode, and ! if the session is disconnected from the database + (which can happen if \connect fails). In prompt 2 the + sequence is replaced by -, *, a single quote, + or a double quote, depending on whether psql + expects more input because the query wasn't terminated yet, because you are + inside a /* ... */ comment, or because you are inside + a quote. In prompt 3 the sequence doesn't resolve to anything. %digits - If digits starts with 0x - the rest of the characters are interpreted at a hexadecimal digit and the - character with the corresponding code is subsituted. If the first digit is 0 - the characters are interpreted as on octal number and the corresponding character - is substituted. Otherwise a decimal number is assumed. + If digits starts with + 0x the rest of the characters are interpreted at a + hexadecimal digit and the character with the corresponding code is + subsituted. If the first digit is 0 the characters are + interpreted as on octal number and the corresponding character is + substituted. Otherwise a decimal number is assumed. -- cgit v1.2.3