diff options
author | Tom Lane | 2009-07-13 00:42:18 +0000 |
---|---|---|
committer | Tom Lane | 2009-07-13 00:42:18 +0000 |
commit | f1d9c299d6e2349973e2f6dfc14d4e6ede710788 (patch) | |
tree | d6a5615cc70d6255e3fce737da5b16f870e7166e | |
parent | 6566e37e027e14a69e263cb82db4a4e31d9cb8b4 (diff) |
Fix up PGDLLIMPORT marking for standard_conforming_strings. Moving it
into a header file that plpgsql's scan.l can see broke the previous
kluge. Per buildfarm results.
-rw-r--r-- | src/include/parser/parser.h | 4 | ||||
-rw-r--r-- | src/pl/plpgsql/src/scan.l | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/include/parser/parser.h b/src/include/parser/parser.h index becc24a9a94..296e8d748fc 100644 --- a/src/include/parser/parser.h +++ b/src/include/parser/parser.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.26 2009/07/12 17:12:34 tgl Exp $ + * $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.27 2009/07/13 00:42:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -28,7 +28,7 @@ typedef enum /* GUC variables in scan.l (every one of these is a bad idea :-() */ extern int backslash_quote; extern bool escape_string_warning; -extern bool standard_conforming_strings; +extern PGDLLIMPORT bool standard_conforming_strings; /* Primary entry points for the raw parsing functions */ diff --git a/src/pl/plpgsql/src/scan.l b/src/pl/plpgsql/src/scan.l index b5d9b470a03..24497791205 100644 --- a/src/pl/plpgsql/src/scan.l +++ b/src/pl/plpgsql/src/scan.l @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.70 2009/06/10 22:34:11 petere Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.71 2009/07/13 00:42:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -43,8 +43,6 @@ static int cur_line_num; static int xcdepth = 0; /* depth of nesting in slash-star comments */ static char *dolqstart; /* current $foo$ quote start string */ -extern PGDLLIMPORT bool standard_conforming_strings; - bool plpgsql_SpaceScanned = false; %} |