Michael Fuhr <[EMAIL PROTECTED]> writes:
> PQdb() is returning NULL, which causes fprintf() to dump core.
It is actually documented that a failed connection might return NULL for
this, so the example code is wrong. I've corrected the examples to not
assume PQdb can be used on a failed connection.
On Wed, Sep 29, 2004 at 05:59:37PM +0100, Trevor Inns wrote:
> version 7.4.5
>
> using postgresql-7.4.5/src/test/examples/testlibpq as follows
>
> "testlibpq hostname=shouldHaveUsedHostNotHostname"
>
> fails with coredump
>
> SunOS pluto 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-5_10
Confir
version 7.4.5
using postgresql-7.4.5/src/test/examples/testlibpq as follows
"testlibpq hostname=shouldHaveUsedHostNotHostname"
fails with coredump
SunOS pluto 5.9 Generic_117171-07 sun4u sparc SUNW,Ultra-5_10
---(end of broadcast)---
TIP 9: the plann