Niko Ware <[email protected]> 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 example and my application core on an invalid address for "extra".
Modifying testlibpq2.c like that works for me, FWIW.
I speculate maybe you have a macro definition of "extra" that is bollixing
things somehow? Kind of a weak theory, but nothing else comes to mind.
regards, tom lane