From: hubert depesz lubaczewski <depesz@depesz.pl>
To: pgsql-sql@postgresql.org
Subject: Re: Synonyms
Date: Tue, 31 Oct 2000 08:16:22 +0100
Message-ID: <20001031081622.A11314@gruby> (raw)
In-Reply-To: <80256988.00490BAB.00@marconicomms.com>
References: <80256988.00490BAB.00@marconicomms.com>
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 ...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: depesz@depesz.pl
Subject: Re: Synonyms
In-Reply-To: <20001031081622.A11314@gruby>
References: <80256988.00490BAB.00@marconicomms.com> <20001031081622.A11314@gruby>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox