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

Re: BUG #5503: error in trigger function with dropped columns

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Maksym Boguk" <Maxim(dot)Boguk(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5503: error in trigger function with dropped columns
Date: 2010-06-13 16:09:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
"Maksym Boguk" <Maxim(dot)Boguk(at)gmail(dot)com> writes:
> This bug hard to describe. But in general if a table contained dropped
> columns you cannot use return record variable in trigger function.

This is fixed for 9.0 ... or at least the specific test case you provide
doesn't fail.  We have not risked back-porting the change though,
because there are other aspects of what the new code does that might
cause people problems, eg

			regards, tom lane

In response to


pgsql-bugs by date

Next:From: Jan MerkaDate: 2010-06-13 21:29:48
Subject: BUG #5504: cache lookup failed for function
Previous:From: Hartmut GoebelDate: 2010-06-13 15:43:48
Subject: Re: BUG #5488: pg_dump does not quote column names -> pg_restore may fail when upgrading

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