X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C6AC4D1B252 for ; Wed, 30 Jun 2004 20:19:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53713-01 for ; Wed, 30 Jun 2004 23:19:14 +0000 (GMT) Received: from tht.net (vista.tht.net [216.126.88.2]) by svr1.postgresql.org (Postfix) with ESMTP id AC90CD1B27C for ; Wed, 30 Jun 2004 20:19:10 -0300 (ADT) Received: from [134.22.68.4] (dyn-68-4.tor.dsl.tht.net [134.22.68.4]) by tht.net (Postfix) with ESMTP id 2C7A176A52; Wed, 30 Jun 2004 19:19:18 -0400 (EDT) Subject: Re: Queries across multiple database From: Rod Taylor To: Garth Thompson Cc: pgsql-sql@postgresql.org In-Reply-To: <002201c45ef5$2fa7c8a0$032a450a@havok> References: <002201c45ef5$2fa7c8a0$032a450a@havok> Content-Type: text/plain Message-Id: <1088637551.12340.75.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 30 Jun 2004 19:19:12 -0400 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/307 X-Sequence-Number: 18252 On Wed, 2004-06-30 at 18:54, Garth Thompson wrote: > I am in the process of migrating the databases for an application from mysql > to postgres. The application is uses several different databases. From > what I have read, postgres still does not support queries across multiple > databases. If this is still true, does anyone have any tricks to get around > this? I'm sure this is a common problem for people migrating from mysql. > The obvious answer is to just migrate everything into one larger postgres > database, but I would like to avoid this if possible - many a line of could > would need to be touched if this was done. In this case, a PostgreSQL Schema is essentially the same as a MySQL Database. Use one database, and multiple schemas.