pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrey G. <andvgal@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting
Date: Thu, 18 Nov 2010 17:22:02 -0500
Message-ID: <12159.1290118922@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTikFRVgN6iQTg9FefakKaq2HqeU3GGr1y+d3BC=d@mail.gmail.com>
References: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org>
	<3851.1290102809@sss.pgh.pa.us>
	<AANLkTikFRVgN6iQTg9FefakKaq2HqeU3GGr1y+d3BC=d@mail.gmail.com>

"Andrey G." <andvgal@gmail.com> writes:
> CREATE FUNCTION Bug_5757_test()
>     RETURNS VOID
> AS $$
> DECLARE
>     v_comp CompositeType;
> BEGIN
>     IF v_comp.non_existing_field THEN
>         NULL;
>     END IF;
> END;
> $$
> LANGUAGE plpgsql;

OK, I did something about that.  Thanks for the report!

			regards, tom lane



view thread (4+ messages)

Message-ID: <12159.1290118922@sss.pgh.pa.us>
Permalink:  ../12159.1290118922@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12159.1290118922@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andvgal@gmail.com
  Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting
  In-Reply-To: <12159.1290118922@sss.pgh.pa.us>
  References: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org> <3851.1290102809@sss.pgh.pa.us> <AANLkTikFRVgN6iQTg9FefakKaq2HqeU3GGr1y+d3BC=d@mail.gmail.com> <12159.1290118922@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