Search Postgresql Archives

Re: Example 31-2. libpq Example Program 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Niko Ware <nikowareinc@xxxxxxxxx> 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






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux