Skip site navigation (1) Skip section navigation (2)

Re: Stored procedure failure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michal Hlavac <hlavki(at)medium13(dot)sk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Stored procedure failure
Date: 2004-08-26 17:59:17
Message-ID: 24340.1093543157@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Michal Hlavac <hlavki(at)medium13(dot)sk> writes:
> I have stored procedure, which works good, but only if input is "correct".
> Correct input is, when $1 is id, which exists in table...
> If I put non exists id, database fall down and restart with this error:
> server closed the connection unexpectedly

I can't reproduce a crash here, but perhaps that's because you have not
supplied any sample data...

			regards, tom lane

In response to

Responses

pgsql-general by date

Next:From: Cornelia BoenigkDate: 2004-08-26 18:18:56
Subject: Re: Problem to connect to the Windows Port
Previous:From: Lincoln YeohDate: 2004-08-26 17:01:02
Subject: Re: UTF-8 and LIKE vs =

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group