pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
continuing with rserv replication
2+ messages / 2 participants
[nested] [flat]

* continuing with rserv replication
@ 2001-10-31 11:08  Manuel Trujillo <manueltrujillo@dorna.es>
  0 siblings, 0 replies; 2+ messages in thread

From: Manuel Trujillo @ 2001-10-31 11:08 UTC (permalink / raw)
  To: pgsql-admin

Hi.

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.

Thank's.

-- 
Manuel Trujillo         manueltrujillo@dorna.es
Technical Engineer      http://www.motograndprix.com
Dorna Sports S.L.       +34 93 4702864



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: continuing with rserv replication
@ 2001-11-03 12:50  pgsql-admin <pgsql-admin@fc.emc.com.ph>
  0 siblings, 0 replies; 2+ messages in thread

From: pgsql-admin @ 2001-11-03 12:50 UTC (permalink / raw)
  To: pgsql-admin; manueltrujillo@dorna.es

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-11-03 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-31 11:08 continuing with rserv replication Manuel Trujillo <manueltrujillo@dorna.es>
2001-11-03 12:50 Re: continuing with rserv replication pgsql-admin <pgsql-admin@fc.emc.com.ph>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox