Re: Function using more than one database - Mailing list pgsql-sql

From Roberto Mello
Subject Re: Function using more than one database
Date
Msg-id 20020726214536.GA27840@cc.usu.edu
Whole thread Raw
In response to Function using more than one database  ("Christian Lübeck" <c.luebeck@gmx.de>)
List pgsql-sql
On Wed, Jul 24, 2002 at 07:24:52PM +0200, Christian Lübeck wrote:
> Hi group,
> 
> i am currently learning PGSQL and having a question:
> 
> In DB1 i have got a table tbl1. In this table there are added, let's say 300
> rows a day. Every time, rows are added, I want to Server to move these rows
> to other DBs (DB2,DB3,DB4).
> This seems not to work with Pl/Pgsql (or maybe I don't know the right
> syntax).
> Is there any other way, any other language to do so?

Any language, except for PostgreSQL's PL languages, can do that. Just open
two (or more) connections to your different databases.

-Roberto

-- 
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+ Roberto Mello - Computer Science, USU -
http://www.brasileiro.net/      http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer    
 
Female users not found: (C)ry, ($)*&%^#%$, (H)angUp


pgsql-sql by date:

Previous
From: Marc Spitzer
Date:
Subject: Re: 1 milion data insertion
Next
From: Roberto Mello
Date:
Subject: Re: RES: [GENERAL] set DateStyle to 'SQL'