summaryrefslogtreecommitdiff
path: root/src/backend/parser
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2002-08-18 09:36:26 +0000
committerPeter Eisentraut <peter_e@gmx.net>2002-08-18 09:36:26 +0000
commitc828ec88205a232a9789f157d8cf9c3d82f85152 (patch)
tree86c73da00a74678b10e57b2f5b08817bfa466210 /src/backend/parser
parent41298cf8a60ff815b98b9babb341c9c1629c1926 (diff)
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.
Diffstat (limited to 'src/backend/parser')
-rw-r--r--src/backend/parser/keywords.c4
1 files changed, 3 insertions, 1 deletions
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.
*