Skip to content

Commit f1d9c29

Browse files
committed
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.
1 parent 6566e37 commit f1d9c29

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/include/parser/parser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
99
* Portions Copyright (c) 1994, Regents of the University of California
1010
*
11-
* $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.26 2009/07/12 17:12:34 tgl Exp $
11+
* $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.27 2009/07/13 00:42:17 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -28,7 +28,7 @@ typedef enum
2828
/* GUC variables in scan.l (every one of these is a bad idea :-() */
2929
extern int backslash_quote;
3030
extern bool escape_string_warning;
31-
extern bool standard_conforming_strings;
31+
extern PGDLLIMPORT bool standard_conforming_strings;
3232

3333

3434
/* Primary entry points for the raw parsing functions */

src/pl/plpgsql/src/scan.l

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.70 2009/06/10 22:34:11 petere Exp $
12+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/scan.l,v 1.71 2009/07/13 00:42:18 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -43,8 +43,6 @@ static int cur_line_num;
4343
static int xcdepth = 0; /* depth of nesting in slash-star comments */
4444
static char *dolqstart; /* current $foo$ quote start string */
4545

46-
extern PGDLLIMPORT bool standard_conforming_strings;
47-
4846
bool plpgsql_SpaceScanned = false;
4947
%}
5048

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy