Remove function declaration for function in pg_proc.
authorAndres Freund <andres@anarazel.de>
Thu, 12 May 2022 16:25:14 +0000 (09:25 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 12 May 2022 19:39:33 +0000 (12:39 -0700)
The declaration is automatically generated. Noticed when experimenting with
adding PGDLLIMPORT markers for functions.

Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de

src/backend/replication/logical/launcher.c

index eabcc1bcba706305196c95c555d3c267280d28b9..bd5f78cf9a21c4e75a73ba40e779e8b2002eafc3 100644 (file)
@@ -42,6 +42,7 @@
 #include "storage/procarray.h"
 #include "storage/procsignal.h"
 #include "tcop/tcopprot.h"
+#include "utils/builtins.h"
 #include "utils/memutils.h"
 #include "utils/pg_lsn.h"
 #include "utils/ps_status.h"
@@ -75,8 +76,6 @@ static void logicalrep_worker_cleanup(LogicalRepWorker *worker);
 
 static bool on_commit_launcher_wakeup = false;
 
-Datum      pg_stat_get_subscription(PG_FUNCTION_ARGS);
-
 
 /*
  * Load the list of subscriptions.