]> granicus.if.org Git - postgresql/commitdiff
Fix worker_spi for new parameter to initialize connection
authorMagnus Hagander <magnus@hagander.net>
Thu, 5 Apr 2018 17:14:14 +0000 (19:14 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 5 Apr 2018 17:14:50 +0000 (19:14 +0200)
Missed in previous commit.

Spotted by Teodor and the buildfarm

src/test/modules/worker_spi/worker_spi.c

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