From: Richard Huxton <dev@archonet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Denis BUCHER <dbucherml@hsolutions.ch>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problem with return type of function ??? (corrected)
Date: Thu, 22 Oct 2009 16:06:47 +0100
Message-ID: <4AE07507.5050900@archonet.com> (raw)
In-Reply-To: <29935.1256222015@sss.pgh.pa.us>
References: <4AE046E4.8010205@hsolutions.ch>
<29935.1256222015@sss.pgh.pa.us>
Tom Lane wrote:
> Denis BUCHER <dbucherml@hsolutions.ch> writes:
>
> Does that table have any dropped columns? If you don't remember
> whether you ever dropped any columns, a quick look into pg_attribute
> will tell you:
> select attname from pg_attribute where attrelid = 'rma.serial_number'::regclass;
>
> plpgsql isn't tremendously good with rowtypes that contain dropped
> columns.
I thought that only applied to columns dropped after the function was
defined. Live and learn.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, tgl@sss.pgh.pa.us, dbucherml@hsolutions.ch
Subject: Re: Problem with return type of function ??? (corrected)
In-Reply-To: <4AE07507.5050900@archonet.com>
* 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