From c828ec88205a232a9789f157d8cf9c3d82f85152 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 18 Aug 2002 09:36:26 +0000 Subject: Make pg_dump output more portable and more pleasing to look at. The -n and -N options were removed. Quoting is now smart enough to supply quotes if and only if necessary. Numerical types are now printed without quotes, except in cases of special values such as NaN. Boolean values printed as true and false. Most string literals now do not escape whitespace characters (newlines, etc.) for portability. SET SESSION AUTHORIZATION argument is a string literal, to follow SQL. Made commands output by pg_dump use consistent spacing and indentation. --- src/backend/parser/keywords.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/backend/parser') diff --git a/src/backend/parser/keywords.c b/src/backend/parser/keywords.c index 2ae62ac18d9..2bb6772054a 100644 --- a/src/backend/parser/keywords.c +++ b/src/backend/parser/keywords.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.124 2002/08/06 05:40:45 ishii Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/keywords.c,v 1.125 2002/08/18 09:36:25 petere Exp $ * *------------------------------------------------------------------------- */ @@ -20,6 +20,8 @@ #include "parser/keywords.h" #include "parser/parse.h" +/* NB: This file is also used by pg_dump. */ + /* * List of (keyword-name, keyword-token-value) pairs. * -- cgit v1.2.3