From: | hubert depesz lubaczewski <depesz(at)depesz(dot)pl> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Synonyms |
Date: | 2000-10-31 07:16:22 |
Message-ID: | 20001031081622.A11314@gruby |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)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 ...
From | Date | Subject | |
---|---|---|---|
Next Message | Kovacs Zoltan Sandor | 2000-10-31 11:30:55 | PLPGSQL examples |
Previous Message | Martin Christensen | 2000-10-30 22:07:19 | Re: fetching rows |