Commit ec0b1f27 authored by Tom Lane's avatar Tom Lane

Paranoia: ensure MyBackendId is InvalidBackendId in a process that has

never executed SIBackendInit().
parent bf65d730
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.89 2004/05/29 22:48:21 tgl Exp $ * $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.90 2004/05/30 17:58:12 tgl Exp $
* *
* NOTES * NOTES
* Globals used all over the place should be declared here and not * Globals used all over the place should be declared here and not
...@@ -53,7 +53,7 @@ char postgres_exec_path[MAXPGPATH]; /* full path to backend */ ...@@ -53,7 +53,7 @@ char postgres_exec_path[MAXPGPATH]; /* full path to backend */
/* note: currently this is not valid in backend processes */ /* note: currently this is not valid in backend processes */
#endif #endif
BackendId MyBackendId; BackendId MyBackendId = InvalidBackendId;
char *DatabasePath = NULL; char *DatabasePath = NULL;
Oid MyDatabaseId = InvalidOid; Oid MyDatabaseId = InvalidOid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment