Re: Synonyms

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Synonyms
Дата
Msg-id 20001031081622.A11314@gruby
обсуждение исходный текст
Ответ на Synonyms  ("Carl Shelbourne" <Carl.Shelbourne@marconi.com>)
Список 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@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
nowoczesnespołeczeństwo,     jest niesamowita wręcz łatwość unikania kontaktów z nim ...
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Martin Christensen
Дата:
Сообщение: Re: fetching rows
Следующее
От: Kovacs Zoltan Sandor
Дата:
Сообщение: PLPGSQL examples