ERROR: Cross-database references are not implemented

ERROR: Cross-database references are not implemented

am 11.08.2004 04:23:54 von Theo.Galanakis

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C47F4A.3F947D60
Content-Type: text/plain


How do I explicidly create a cross-database reference?

Mind you these databases are on the same server.

In MSSQL you could do that through enterprise manager.

Any help would be appreciated.


____________________________________________________________ __________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.
------_=_NextPart_001_01C47F4A.3F947D60
Content-Type: text/html






ERROR: Cross-database references are not implemented



How do I explicidly create a cross-database reference?



Mind you these databases are on the same server.



In MSSQL you could do that through enterprise manager.



Any help would be appreciated.





____________________________________________________________ __________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.

------_=_NextPart_001_01C47F4A.3F947D60--

Re: ERROR: Cross-database references are not implemented

am 11.08.2004 05:35:01 von mail

Theo Galanakis wrote:
> How do I explicidly create a cross-database reference?
>
> Mind you these databases are on the same server.
>
> In MSSQL you could do that through enterprise manager.
>
> Any help would be appreciated.

You cannot do cross database references per se, but you can use schemas,
which roughly behave like individual databases do in MSSQL. See:
http://www.postgresql.org/docs/7.4/static/ddl-schemas.html

If you really need cross-database queries, see contrib/dblink (which
would also work across servers), but it isn't as flexible as using schemas.

HTH,

Joe

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings