Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5042A475C98 for ; Thu, 28 Nov 2002 23:06:53 -0500 (EST) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by postgresql.org (Postfix) with ESMTP id B9608475B8F for ; Thu, 28 Nov 2002 23:06:52 -0500 (EST) Received: from bonbon.net (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id C1E9A2130E7 for ; Fri, 29 Nov 2002 04:06:52 +0000 (UTC) Received: from yudha (unknown [61.94.212.186]) by smtp-2.hotpop.com (Postfix) with SMTP id CE7021B8707 for ; Fri, 29 Nov 2002 04:06:24 +0000 (UTC) Message-ID: <016501c297da$d0f2e840$ea00a8c0@yudha> From: "yudha" To: Subject: Re: Select Multi Database / Need More; Date: Fri, 29 Nov 2002 11:08:54 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0162_01C29797.B47DBBB0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/302 X-Sequence-Number: 6490 This is a multi-part message in MIME format. ------=_NextPart_000_0162_01C29797.B47DBBB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank's for Milist's advices, =20 Dear Oliver Elphick , 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 , 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. ------------------------------------------------------------------------- =20 Then how could i make it (SCHEMA)..??=20 There are many tables split on 4 databases on my previous=20 databases (MS-SQL Server). Could you give me more=20 explanations about PostgreSQL-Schema. I've tried to search=20 about schema on many url but i still don't clearly understand=20 about "schema", there's no Create Schema command or=20 some command that's following with option schema. In the middle of=20 my confusing i tried to using command "create schema my_schema;"=20 it wasn't error show up, but my_schema that's i created is the same=20 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=20 anybody have any examples that's using "contrib/dblink"...???. Sorry for very-basicly question. Some Advices will be helpfull. TIA and GOD Bless You. ------=_NextPart_000_0162_01C29797.B47DBBB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank's for Milist's advices,
 
 Dear Oliver Elphick= =20 <olly@lfix.co.uk>,=20 You Wrote ;
>You cannot read from another database.  In= 7.3,=20 you can have multiple
>schemas in one database and the syntax for rea= ding=20 a file from another
>schema is:

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



------=_NextPart_000_0162_01C29797.B47DBBB0--