Received: from brasileiro.net (slxwy.dorms.usu.edu [129.123.236.160]) by postgresql.org (Postfix) with ESMTP id A6201474E44 for ; Fri, 26 Jul 2002 17:44:34 -0400 (EDT) Received: from roberto by brasileiro.net with local (Exim 3.35 #1 (Debian)) id 17YCu0-0007FP-00; Fri, 26 Jul 2002 15:45:36 -0600 Date: Fri, 26 Jul 2002 15:45:36 -0600 From: Roberto Mello To: Christian =?iso-8859-1?Q?L=FCbeck?= Cc: pgsql-sql@postgresql.org Subject: Re: Function using more than one database Message-ID: <20020726214536.GA27840@cc.usu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.3.28i X-message-flag: Please consider using an e-mail program other than Outlook. It's insecure. X-Archive-Number: 200207/422 X-Sequence-Number: 8800 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