Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Date: 2009-07-13 14:26:08
Message-ID: 23078.1247495168@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Frank van Vugt 2009-07-13 15:37:51 Re: SPI_ERROR_CONNECT within pl/pgsql, PG 8.4
Previous Message Frank van Vugt 2009-07-13 13:56:29 SPI_ERROR_CONNECT within pl/pgsql, PG 8.4