Function using more than one database
Function using more than one database
От:
"Christian Lübeck" <c.luebeck@gmx.de>
Дата:
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? Thanks, Christian L�beck
Re: Function using more than one database
От:
Roberto Mello <rmello@cc.usu.edu>
Дата:
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