Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id C66089F95E3 for ; Wed, 3 Jan 2007 06:22:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 68770-06 for ; Wed, 3 Jan 2007 06:22:45 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by postgresql.org (Postfix) with ESMTP id B53DC9FA31E for ; Wed, 3 Jan 2007 06:22:48 -0400 (AST) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 3A254143568; Wed, 3 Jan 2007 10:22:43 +0000 (GMT) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 3272EFF04; Wed, 3 Jan 2007 10:22:42 +0000 (GMT) Message-ID: <459B83F1.9050609@archonet.com> Date: Wed, 03 Jan 2007 10:22:41 +0000 From: Richard Huxton User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: ramachandra.bhaskaram@wipro.com Cc: pgsql-sql@postgresql.org Subject: Re: [SQL NOTIFY Help] sending NOTIFY to the external program References: <47230CE166B64744B0120173E4C2161E0103E69C@BLR-EC-MBX01.wipro.com> In-Reply-To: <47230CE166B64744B0120173E4C2161E0103E69C@BLR-EC-MBX01.wipro.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/2 X-Sequence-Number: 27154 ramachandra.bhaskaram@wipro.com wrote: > Hi, > > In one of our project we are supposed to send the notifications > regarding any row modifications in a perticular table to the external > application which will be implementing the listen event for the same. > We are using the postgress version 8.0.3. > Can anybody clarify whether we can pass the primary key value of > the record modified in the extra attribute of this structure? Afraid not. You'll need to record the pkey in a "process_these" table and have the application check there. -- Richard Huxton Archonet Ltd