diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/parser/gramparse.h | 14 | ||||
-rw-r--r-- | src/include/utils/guc.h | 3 |
2 files changed, 14 insertions, 3 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h index 8095ef2300a..25935e69aa6 100644 --- a/src/include/parser/gramparse.h +++ b/src/include/parser/gramparse.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.31 2004/12/31 22:03:38 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/parser/gramparse.h,v 1.31.6.1 2006/05/21 20:11:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,6 +18,18 @@ #include "nodes/parsenodes.h" +typedef enum +{ + BACKSLASH_QUOTE_OFF, + BACKSLASH_QUOTE_ON, + BACKSLASH_QUOTE_SAFE_ENCODING +} BackslashQuoteType; + +/* GUC variables in scan.l (every one of these is a bad idea :-() */ +extern BackslashQuoteType backslash_quote; +extern bool escape_string_warning; + + /* from parser.c */ extern int yylex(void); diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index fdfd5dbeb71..dfeb2bc2644 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -7,7 +7,7 @@ * Copyright (c) 2000-2005, PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. * - * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.63 2005/10/15 02:49:46 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/guc.h,v 1.63.2.1 2006/05/21 20:11:02 tgl Exp $ *-------------------------------------------------------------------- */ #ifndef GUC_H @@ -120,7 +120,6 @@ extern bool SQL_inheritance; extern bool Australian_timezones; extern bool default_with_oids; -extern bool escape_string_warning; extern int log_min_error_statement; extern int log_min_messages; |