server closed unexpectedly while executing a function

From: "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: server closed unexpectedly while executing a function
Date: 2007-02-23 14:25:57
Message-ID: a47902760702230625i6da46b9cp1a43a22a7d5887c8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi
I'm running a function in perl and it says

-----------------------------------------------------------------------------------------------------------------------------------
NOTICE: DBD::Pg::st execute failed: server closed the connection
unexpectedly
This probably means the server terminated abnormally
before or while processing the request.

CONTEXT: SQL statement "SELECT sp_email( $1 , $2 )"
PL/pgSQL function "func_trg_email" line 2 at perform
NOTICE: DBD::Pg::st execute failed: no connection to the server

---------------------------------------------------------------------------------------------------------------------

how can i get more verbose messages that would tell me where exactly I'm
going wrong.
I'm calling function sp_email from a trigger function func_trg_email here.

Thanks,
jas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2007-02-23 14:32:54 Re: Wikipedia on Postgres (was Re: postgresql vs mysql)
Previous Message Richard Huxton 2007-02-23 14:18:08 Re: ODBCng and OpenOffice 2.1