diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-02-02 16:23:59 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-02-02 16:23:59 -0500 |
commit | 5d2f957f3f9dcd88384780876f535b423151f9bf (patch) | |
tree | a857f045f8bc849ef6cb3aca570e7252e74a324b /src/backend/bootstrap/bootstrap.c | |
parent | 2488eff889f83d7d6411be9a6172ff69df3f0085 (diff) | |
download | postgresql-5d2f957f3f9dcd88384780876f535b423151f9bf.tar.gz postgresql-5d2f957f3f9dcd88384780876f535b423151f9bf.zip |
Add new function BackgroundWorkerInitializeConnectionByOid.
Sometimes it's useful for a background worker to be able to initialize
its database connection by OID rather than by name, so provide a way
to do that.
Diffstat (limited to 'src/backend/bootstrap/bootstrap.c')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 0819e804bec..bc66eac9848 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -467,7 +467,7 @@ BootstrapModeMain(void) */ InitProcess(); - InitPostgres(NULL, InvalidOid, NULL, NULL); + InitPostgres(NULL, InvalidOid, NULL, InvalidOid, NULL); /* Initialize stuff for bootstrap-file processing */ for (i = 0; i < MAXATTR; i++) |