aboutsummaryrefslogtreecommitdiff
path: root/src/backend/postmaster/postmaster.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r--src/backend/postmaster/postmaster.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index 2ab7ed7dc39..e2a76ba0558 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -4551,19 +4551,13 @@ BackendInitialize(Port *port)
static void
BackendRun(Port *port)
{
- char *av[2];
- const int ac = 1;
-
- av[0] = "postgres";
- av[1] = NULL;
-
/*
* Make sure we aren't in PostmasterContext anymore. (We can't delete it
* just yet, though, because InitPostgres will need the HBA data.)
*/
MemoryContextSwitchTo(TopMemoryContext);
- PostgresMain(ac, av, port->database_name, port->user_name);
+ PostgresMain(port->database_name, port->user_name);
}