Received: from gruby_int.cs.net.pl (cafe1.rem.pl [195.205.133.61]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id e9V7H7l03604 for ; Tue, 31 Oct 2000 02:17:07 -0500 (EST) (envelope-from depesz@gruby.cs.net.pl) Received: (from localhost user: 'depesz' uid#500 fake: STDIN (depesz@gruby.cs.net.pl)) by gruby.cs.net.pl id ; Tue, 31 Oct 2000 08:16:22 +0100 Date: Tue, 31 Oct 2000 08:16:22 +0100 From: hubert depesz lubaczewski To: pgsql-sql@postgresql.org Subject: Re: Synonyms Message-ID: <20001031081622.A11314@gruby> Reply-To: depesz@depesz.pl References: <80256988.00490BAB.00@marconicomms.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <80256988.00490BAB.00@marconicomms.com>; from Carl.Shelbourne@marconi.com on Mon, Oct 30, 2000 at 01:17:24PM +0000 X-Archive-Number: 200010/20 X-Sequence-Number: 20 On Mon, Oct 30, 2000 at 01:17:24PM +0000, Carl Shelbourne wrote: > * Is there a way of creating synonyms of tables within one database in another > database in Postgres similar to the Informix CREATE SYNONYM? > * If not and related to the post on 2000-10-28 by Sivagami, is there a way, > within a select I can make a query from mulitple databases. ( the usual > DB.Table or DB:table or DB@table dont seem to work) don't know how informix works, but why dont you just use a view? create view synonym as select * from table; am i missing something? depesz -- hubert depesz lubaczewski ------------------------------------------------------------------------ najwspanialszą rzeczą jaką dało nam nowoczesne społeczeństwo, jest niesamowita wręcz łatwość unikania kontaktów z nim ...