pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Knud Müller <k.mueller@portrix.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Return Opaque / Error in Function
Date: Thu, 29 Nov 2001 01:15:08 -0500
Message-ID: <15982.1007014508@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBIFELPDEINLGFJBFNEEHCCGAA.k.mueller@portrix.net>
References: <NEBBIFELPDEINLGFJBFNEEHCCGAA.k.mueller@portrix.net>

=?iso-8859-1?Q?Knud_M=FCller?= <k.mueller@portrix.net> writes:
> mag=# Delete from productvariant where productvariantid='4015223929157';
> ERROR:  control reaches end of trigger procedure without RETURN
> DEBUG:  Last error occured while executing PL/pgSQL function
> update_productvariant
> DEBUG:  at END of toplevel PL block
> ERROR:  control reaches end of trigger procedure without RETURN

Your function looks fine to me, and executes fine here.  Not sure what
the problem is.  You are using a recent version of Postgres, no?

			regards, tom lane



view thread (2+ messages)

Message-ID: <15982.1007014508@sss.pgh.pa.us>
Permalink:  ../15982.1007014508@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15982.1007014508@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, k.mueller@portrix.net
  Subject: Re: Return Opaque / Error in Function
  In-Reply-To: <15982.1007014508@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox