doc: Correct type of bgw_notify_pid
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 14 Oct 2022 06:37:12 +0000 (08:37 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 14 Oct 2022 06:38:49 +0000 (08:38 +0200)
This has apparently been wrong since the beginning
(090d0f2050647958865cb495dff74af7257d2bb4).

Discussion: https://www.postgresql.org/message-id/289c2e45-c7d9-5ce4-7eff-a9e2a33e1580@enterprisedb.com

doc/src/sgml/bgworker.sgml

index 3d4e4afcf9192018da73ac27681b748e3bd9b303..7ba5da27e50a4c561d4d1d31f87a030af18fbf0b 100644 (file)
@@ -63,7 +63,7 @@ typedef struct BackgroundWorker
     char        bgw_function_name[BGW_MAXLEN];
     Datum       bgw_main_arg;
     char        bgw_extra[BGW_EXTRALEN];
-    int         bgw_notify_pid;
+    pid_t       bgw_notify_pid;
 } BackgroundWorker;
 </programlisting>
   </para>