X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id CB72A9FB33A for ; Mon, 31 Jul 2006 10:31:11 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 87390-09-2 for ; Mon, 31 Jul 2006 10:30:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 6ED969FB335 for ; Mon, 31 Jul 2006 10:30:14 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.7/8.13.7) with ESMTP id k6VDTx7l024613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 31 Jul 2006 07:30:02 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.6/8.13.6) with ESMTP id k6VDTx1d065048; Mon, 31 Jul 2006 07:29:59 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.6/8.13.6/Submit) id k6VDTsTC065047; Mon, 31 Jul 2006 07:29:54 -0600 (MDT) (envelope-from mfuhr) Date: Mon, 31 Jul 2006 07:29:54 -0600 From: Michael Fuhr To: vivek@staff.ownmail.com Cc: pgsql-interfaces@postgresql.org Subject: Re: SPI_getvalue fails Message-ID: <20060731132954.GA64580@winnie.fuhr.org> References: <200607311301.k6VD1sJ3030107@mail009.ownmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200607311301.k6VD1sJ3030107@mail009.ownmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.165 tagged_above=0 required=5 tests=AWL, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: ** X-Archive-Number: 200607/21 X-Sequence-Number: 6211 On Mon, Jul 31, 2006 at 06:31:54PM +0530, vivek@staff.ownmail.com wrote: > Here is the code:- Could you post the CREATE TRIGGER statement? tg_trigtuple would be NULL if you're using a statement-level trigger instead of a row-level trigger. -- Michael Fuhr