From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-sql@postgresql.org
Subject: Re: Multiple databases
Date: Wed, 16 Apr 2008 09:24:08 +0200
Message-ID: <20080416072408.GD1928@a-kretschmer.de> (raw)
In-Reply-To: <000601c89f8f$7741f490$0f02000a@sumayavm>
References: <000601c89f8f$7741f490$0f02000a@sumayavm>
am Wed, dem 16.04.2008, um 8:59:46 +0200 mailte Sumaya folgendes:
> Hi,
>
> I am converting sql code from sql server to postgresql. Data is currently
> being retrieved from multiple databases, how do I do this using postgresql. I
> have tried using eg. select * from datbasename.tablename but this does not
> work. Any ideas?
You can use multiple databases, but you can't work across multiple
databases. PostgreSQL offers schemas, you can use them.
http://www.postgresql.org/docs/current/static/ddl-schemas.html
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
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: andreas.kretschmer@schollglas.com
Subject: Re: Multiple databases
In-Reply-To: <20080416072408.GD1928@a-kretschmer.de>
* 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