pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yudha <yudha@BonBon.net>
To: pgsql-admin@postgresql.org
Subject: Re: Select Multi Database / Need More;
Date: Fri, 29 Nov 2002 11:08:54 -0800
Message-ID: <016501c297da$d0f2e840$ea00a8c0@yudha> (raw)

Thank's for Milist's advices,
 
 Dear Oliver Elphick <olly@lfix.co.uk>, You Wrote ;
>You cannot read from another database.  In 7.3, you can have multiple
>schemas in one database and the syntax for reading a file from another
>schema is:

>  SELECT * FROM schema.table...
-------------------------------------------------------------------------
  Dear Bruce Momjian <pgman@candle.pha.pa.us>, You Wrote;
>You can't do cross-db queries directly.  In 7.3, you can use schemas and
>put them all in the same database, or use /contrib/dblink for cross-db
>queries.
-------------------------------------------------------------------------
 
Then how could i make it (SCHEMA)..?? 
There are many tables split on 4 databases on my previous 
databases (MS-SQL Server). Could you give me more 
explanations about PostgreSQL-Schema. I've tried to search 
about schema on many url but i still don't clearly understand 
about "schema", there's no Create Schema command or 
some command that's following with option schema. In the middle of 
my confusing i tried to using command "create schema my_schema;" 
it wasn't error show up, but my_schema that's i created is the same 
with other database and it could dropped using "drop database my_schema".
So do you have any idea how to make a schema on PostgreSQL..??? and 
anybody have any examples that's using "contrib/dblink"...???.
Sorry for very-basicly question.
Some Advices will be helpfull.
TIA and GOD Bless You.

view thread (2+ messages)

Message-ID: <016501c297da$d0f2e840$ea00a8c0@yudha>
Permalink:  ../016501c297da$d0f2e840$ea00a8c0@yudha/
Also on:    postgresql.org/message-id/016501c297da$d0f2e840$ea00a8c0@yudha

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: yudha@BonBon.net
  Subject: Re: Select Multi Database / Need More;
  In-Reply-To: <016501c297da$d0f2e840$ea00a8c0@yudha>
  References: <016501c297da$d0f2e840$ea00a8c0@yudha>

* 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