1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix worker_spi for new parameter to initialize connection

Missed in previous commit.

Spotted by Teodor and the buildfarm
This commit is contained in:
Magnus Hagander
2018-04-05 19:14:14 +02:00
parent 1a8c95365e
commit 6a5f796b48

View File

@ -179,7 +179,7 @@ worker_spi_main(Datum main_arg)
BackgroundWorkerUnblockSignals(); BackgroundWorkerUnblockSignals();
/* Connect to our database */ /* Connect to our database */
BackgroundWorkerInitializeConnection("postgres", NULL); BackgroundWorkerInitializeConnection("postgres", NULL, 0);
elog(LOG, "%s initialized with %s.%s", elog(LOG, "%s initialized with %s.%s",
MyBgworkerEntry->bgw_name, table->schema, table->name); MyBgworkerEntry->bgw_name, table->schema, table->name);