Re: triggers/functions across databases

Поиск
Список
Период
Сортировка
Искать
От
Joshua D. Drake
Тема
Re: triggers/functions across databases
Дата
в 14:18:43
Msg-id
4294B310.1050202@commandprompt.com
Ответ на
Список
Дерево обсуждения
triggers/functions across databases "Eric Jones" <Eric.Jones@noaa.gov>
Re: triggers/functions across databases Scott Marlowe <smarlowe@g2switchworks.com>
Re: triggers/functions across databases Richard Huxton <dev@archonet.com>
Re: triggers/functions across databases "Joshua D. Drake" <jd@commandprompt.com>
Re: triggers/functions across databases Mike Nolan <nolan@gw.tssi.com>
Re: triggers/functions across databases "Joshua D. Drake" <jd@commandprompt.com>
Eric Jones wrote:
> We are migrating from Informix to Postgres 7.4.7 and are having a 
> difficult time finding if postgres can insert/update tables across 
> different databases. Namely using functions/triggers when an 
> update/insert is performed on a table it updates/inserts in a table on a 
> different database. Informix can do this with no problem but we were 
> wondering if there is an easy way for postgres to do this. I've searched 
> numerous sites and found vague answers. Thanks in advance.

If you have databases that are dependent on each others data you should 
probably move those databases into a new schema within one database...

See the create schema command.

Otherwise you could use dblink but it would not be my suggestion.

Sincerely,

Joshua D. Drake


> 
> Eric Jones
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster


-- 
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/
В списке pgsql-general по дате отправления
От: Joshua D. Drake
Дата:
Сообщение: Re: Using PG 8.0 with OpenSSL
От: Mike Nolan
Дата:
FAQ