Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Date
Msg-id 23078.1247495168@sss.pgh.pa.us
Whole thread Raw
In response to SPI_ERROR_CONNECT within pl/pgsql, PG 8.4  (Frank van Vugt <ftm.van.vugt@foxi.nl>)
Responses Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
List pgsql-bugs
Frank van Vugt <ftm.van.vugt@foxi.nl> writes:
> Any clues as to how to gather additional information that might bring us
> closer to a solution is appreciated also.

A stack trace from the point of the error would probably tell us a great
deal.  Maybe you could attach to a backend with gdb, set a breakpoint
at the failure return in SPI_connect(), and then provoke the error
manually?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Frank van Vugt
Date:
Subject: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Next
From: Frank van Vugt
Date:
Subject: Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4