Henriksen, Jonas F wrote:
Hi,

is it possible to write a trigger, using pl/pgSQL,  that updates
tables in a different database than the one the trigger is called
from? If it is, what is the syntax for calling the other database? My
to databases are on the same server.

Look into the dblink package in the contrib directory of the source distribution (or your contrib package)


--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
     joining column's datatypes do not match

Reply via email to