Re: CREATE VIEW question...

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: j(dot)konzack(at)arcor(dot)de
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: CREATE VIEW question...
Date: 2002-05-01 20:51:27
Message-ID: 1020286287.16880.190.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, 2002-05-01 at 20:53, j(dot)konzack(at)arcor(dot)de wrote:

> CREATE VIEW members AS SELECT * FROM db1.memberlist;
>
> ->>> this error is displayed: ERROR; parser: error at or near "."
>
> How can I create a view in one database with data from a second/different
> database?

You cannot.

When 7.3 comes out, you could implement this as separate schemas within
one database.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C

"For if ye forgive men their trespasses, your heavenly
Father will also forgive you; But if ye forgive not
men their trespasses, neither will your Father forgive
your trespasses." Matthew 6:14,15

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Joel Burton 2002-05-02 03:17:08 Re: CREATE VIEW question...
Previous Message j.konzack 2002-05-01 19:53:06 CREATE VIEW question...