Received: from miranda.emc.com.ph (miranda.emc.com.ph [203.167.64.7]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fA3CYBq87871 for ; Sat, 3 Nov 2001 07:34:11 -0500 (EST) (envelope-from pgsql-admin@fc.emc.com.ph) Received: from calypso.emc.com.ph (calypso.emc.com.ph [203.167.64.20]) by miranda.emc.com.ph (Postfix) with ESMTP id A821B6B021; Sat, 3 Nov 2001 20:50:56 +0800 (PHT) Received: from phobos.emc.com.ph (phobos.emc.com.ph [203.167.64.10]) by calypso.emc.com.ph (Postfix) with ESMTP id 4E3E6AAA; Sat, 3 Nov 2001 20:53:03 +0800 (PHT) Received: from localhost (localhost.localdomain [127.0.0.1]) by phobos.emc.com.ph (Postfix) with ESMTP id 8BFD9F98; Sat, 3 Nov 2001 20:52:03 +0800 (PHT) Received: from jennifer.emc.com.ph (jennifer.emc.com.ph [203.167.64.3]) by phobos.emc.com.ph (Postfix) with ESMTP id C184D859; Sat, 3 Nov 2001 20:52:02 +0800 (PHT) Received: from fc.emc.com.ph (mnl.emc.com.ph [203.167.64.16]) by jennifer.emc.com.ph (Postfix) with ESMTP id 1671427E; Sat, 3 Nov 2001 20:50:18 +0800 (PHT) Message-id: Date: Sat, 03 Nov 2001 20:50:43 +0800 Subject: Re: continuing with rserv replication To: pgsql-admin@postgresql.org, manueltrujillo@dorna.es From: "pgsql-admin" MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-10 X-Archive-Number: 200111/15 X-Sequence-Number: 2540 manueltrujillo@dorna.es writes: >Anybody know if is possible to make more of one table "active for >trigger" with the MasterAddTable program utilitie? >Actually, only one table with one field is allowed for trigger changes on >the table, and I want to make more of one field for trigger into a table. I don't think that is possible. I read the code (RServ.pm specifically). sub DoDelete { [...] my $sql = "delete from $tabname where $Stables{$tabname}->[1] = '$key'"; [...] } Here you can see that you are only allowed to use one field. In the above code only one field is used for deleting a tuple on the slave database (i.e. delete from table where single_field = value). sherwin