pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Synonyms
3+ messages / 3 participants
[nested] [flat]

* Synonyms
@ 2000-10-30 13:17 Carl Shelbourne <Carl.Shelbourne@marconi.com>
  2000-10-30 16:44 ` Re: Synonyms Peter Eisentraut <peter_e@gmx.net>
  2000-10-31 07:16 ` Re: Synonyms hubert depesz lubaczewski <depesz@depesz.pl>
  0 siblings, 2 replies; 3+ messages in thread

From: Carl Shelbourne @ 2000-10-30 13:17 UTC (permalink / raw)
  To: pgsql-sql



HELP!!!

* 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)

Thanks

Carl





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Synonyms
  2000-10-30 13:17 Synonyms Carl Shelbourne <Carl.Shelbourne@marconi.com>
@ 2000-10-30 16:44 ` Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2000-10-30 16:44 UTC (permalink / raw)
  To: Carl Shelbourne <Carl.Shelbourne@marconi.com>; +Cc: pgsql-sql

Carl Shelbourne writes:

> * Is there a way of creating synonyms of tables within one database in another
> database in Postgres similar to the Informix CREATE SYNONYM?

Nope.

> * 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)

Nope.

It's not really planned either in case you wanted to ask.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Synonyms
  2000-10-30 13:17 Synonyms Carl Shelbourne <Carl.Shelbourne@marconi.com>
@ 2000-10-31 07:16 ` hubert depesz lubaczewski <depesz@depesz.pl>
  1 sibling, 0 replies; 3+ messages in thread

From: hubert depesz lubaczewski @ 2000-10-31 07:16 UTC (permalink / raw)
  To: 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 nowoczesne społeczeństwo,
      jest niesamowita wręcz łatwość unikania kontaktów z nim ...



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2000-10-31 07:16 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-30 13:17 Synonyms Carl Shelbourne <Carl.Shelbourne@marconi.com>
2000-10-30 16:44 ` Peter Eisentraut <peter_e@gmx.net>
2000-10-31 07:16 ` hubert depesz lubaczewski <depesz@depesz.pl>

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