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

Commit91c7a3d

Browse files
authored
Merge pull request#1 from funbringer/missing_session_local
add missing `session_local`
2 parentsc375855 +32bfb3d commit91c7a3d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎src/backend/parser/scan.l

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ fprintf_to_ereport(const char *fmt, const char *msg)
6060
* as such, changing their values can induce very unintuitive behavior.
6161
* But we shall have to live with it until we can remove these variables.
6262
*/
63-
intbackslash_quote = BACKSLASH_QUOTE_SAFE_ENCODING;
64-
boolescape_string_warning =true;
65-
boolstandard_conforming_strings =true;
63+
session_localintbackslash_quote = BACKSLASH_QUOTE_SAFE_ENCODING;
64+
session_localboolescape_string_warning =true;
65+
session_localboolstandard_conforming_strings =true;
6666

6767
/*
6868
* Set the type of YYSTYPE.

‎src/backend/replication/repl_gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
/* Result of the parsing is returned here*/
26-
Node *replication_parse_result;
26+
session_localNode *replication_parse_result;
2727

2828
static SQLCmd *make_sqlcmd(void);
2929

‎src/backend/replication/syncrep_gram.y

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include"replication/syncrep.h"
1818

1919
/* Result of parsing is returned in one of these two variables*/
20-
SyncRepConfigData *syncrep_parse_result;
21-
char *syncrep_parse_error_msg;
20+
session_localSyncRepConfigData *syncrep_parse_result;
21+
session_localchar *syncrep_parse_error_msg;
2222

2323
static SyncRepConfigData *create_syncrep_config(constchar *num_sync,
2424
List *members, uint8 syncrep_method);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp