Niko Ware writes:
> I modified the code to include the "extra" member in the following
> statement:
> fprintf(stderr,
> "ASYNC NOTIFY of '%s' received from backend PID %d: %s\n",
> notify->relname, notify->be_pid, *notify->extra*);
> Both the e
On Wednesday, March 10, 2021, Niko Ware wrote:
>
>
> I modified the code to include the "extra" member in the following
> statement:
>
> fprintf(stderr,
> "ASYNC NOTIFY of '%s' received from backend PID %d:
> %s\n",
> notify->relname, notify->be_pid, *notif
I need notifications to a C application on inserts to a table. The
notification funcion is listed below. My program and "Example 31-2. libpq
Example Program 2" receive the notification, but the payload message in
"PGnotify *notify->extra" is invalid.
The example code