X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 168C8529C2 for ; Tue, 16 Aug 2005 19:24:10 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21114-08 for ; Tue, 16 Aug 2005 22:24:07 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6AAF652935 for ; Tue, 16 Aug 2005 19:24:04 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j7GMO0ST007166; Tue, 16 Aug 2005 18:24:02 -0400 (EDT) To: Chris Hoover Cc: pgsql-admin@postgresql.org Subject: Re: Help with function In-reply-to: <1d219a6f0508160836701c4498@mail.gmail.com> References: <1d219a6f05081210483f5402fe@mail.gmail.com> <21888.1123873074@sss.pgh.pa.us> <1d219a6f0508160836701c4498@mail.gmail.com> Comments: In-reply-to Chris Hoover message dated "Tue, 16 Aug 2005 11:36:51 -0400" Date: Tue, 16 Aug 2005 18:24:00 -0400 Message-ID: <7165.1124231040@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/202 X-Sequence-Number: 18521 Chris Hoover writes: > If I try to do an insert into the mytable_view, everything is happy. > If i try to do an update or delete, I get the error:ERROR: record > type has not been registered > CONTEXT: PL/pgSQL function "mytable_view_update" while storing call > arguments into local variables Well, the good news is this was fixed some time ago in CVS tip ... the bad news is that back-porting the fix to 8.0 doesn't look real practical :-(. In 8.0 it'll only work if you're not using inheritance. regards, tom lane