Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1d9c29

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 previouskluge. Per buildfarm results.
1 parent6566e37 commitf1d9c29

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
externintbackslash_quote;
3030
externboolescape_string_warning;
31-
externboolstandard_conforming_strings;
31+
externPGDLLIMPORTboolstandard_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 intcur_line_num;
4343
staticintxcdepth =0;/* depth of nesting in slash-star comments*/
4444
staticchar *dolqstart;/* current $foo$ quote start string*/
4545

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp