aboutsummaryrefslogtreecommitdiff
path: root/src/include/postmaster/bgworker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/postmaster/bgworker.h')
-rw-r--r--src/include/postmaster/bgworker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/postmaster/bgworker.h b/src/include/postmaster/bgworker.h
index 6b4e631880d..b6c5800cfee 100644
--- a/src/include/postmaster/bgworker.h
+++ b/src/include/postmaster/bgworker.h
@@ -140,7 +140,7 @@ extern PGDLLIMPORT BackgroundWorker *MyBgworkerEntry;
* If dbname is NULL, connection is made to no specific database;
* only shared catalogs can be accessed.
*/
-extern void BackgroundWorkerInitializeConnection(char *dbname, char *username);
+extern void BackgroundWorkerInitializeConnection(const char *dbname, const char *username);
/* Just like the above, but specifying database and user by OID. */
extern void BackgroundWorkerInitializeConnectionByOid(Oid dboid, Oid useroid);