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

Commitec0b1f2

Browse files
committed
Paranoia: ensure MyBackendId is InvalidBackendId in a process that has
never executed SIBackendInit().
1 parentbf65d73 commitec0b1f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/init/globals.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.89 2004/05/29 22:48:21 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.90 2004/05/30 17:58:12 tgl Exp $
1212
*
1313
* NOTES
1414
* Globals used all over the place should be declared here and not
@@ -53,7 +53,7 @@ charpostgres_exec_path[MAXPGPATH];/* full path to backend */
5353
/* note: currently this is not valid in backend processes */
5454
#endif
5555

56-
BackendIdMyBackendId;
56+
BackendIdMyBackendId=InvalidBackendId;
5757

5858
char*DatabasePath=NULL;
5959
OidMyDatabaseId=InvalidOid;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp