pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: j.konzack@arcor.de
Cc: pgsql-sql@postgresql.org
Subject: Re: CREATE VIEW question...
Date: 01 May 2002 21:51:27 +0100
Message-ID: <1020286287.16880.190.camel@linda> (raw)
In-Reply-To: <4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net>
References: <4590508.1020282786645.JavaMail.ngmail@mx09.arcor-online.net>

On Wed, 2002-05-01 at 20:53, j.konzack@arcor.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.Elphick@lfix.co.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 

Attachments:

  signature.asc (application/pgp-signature, 231B) download

view thread (3+ messages)  latest in thread

Message-ID: <1020286287.16880.190.camel@linda>
Permalink:  ../1020286287.16880.190.camel@linda/
Also on:    postgresql.org/message-id/1020286287.16880.190.camel@linda

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, j.konzack@arcor.de
  Subject: Re: CREATE VIEW question...
  In-Reply-To: <1020286287.16880.190.camel@linda>

* 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