Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id ECCE0475AE6 for ; Fri, 29 Nov 2002 00:08:53 -0500 (EST) Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by postgresql.org (Postfix) with ESMTP id 67E9C475AEC for ; Fri, 29 Nov 2002 00:08:53 -0500 (EST) Received: from lfix.demon.co.uk ([158.152.59.127] helo=linda.lfix.co.uk) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 18HdOc-0002WP-0U; Fri, 29 Nov 2002 05:08:58 +0000 Received: from localhost ([127.0.0.1] ident=olly) by linda.lfix.co.uk with esmtp (Exim 3.36 #1 (Debian)) id 18HdOb-0001Dx-00; Fri, 29 Nov 2002 05:08:57 +0000 Subject: Re: Select Multi Database / Need More; From: Oliver Elphick To: yudha Cc: pgsql-admin@postgresql.org In-Reply-To: <016501c297da$d0f2e840$ea00a8c0@yudha> References: <016501c297da$d0f2e840$ea00a8c0@yudha> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kLelZCy9yw7Z6NI2Hvcl" Organization: LFIX Limited Message-Id: <1038546537.1383.396.camel@linda.lfix.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 29 Nov 2002 05:08:57 +0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/303 X-Sequence-Number: 6491 --=-kLelZCy9yw7Z6NI2Hvcl Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2002-11-29 at 19:08, yudha wrote: > 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.=20 You need PostgreSQL 7.3, released yesterday. junk=3D# \h create schema Command: CREATE SCHEMA Description: define a new schema Syntax: CREATE SCHEMA schemaname [ AUTHORIZATION username ] [ schema_element [ ... = ] ] CREATE SCHEMA AUTHORIZATION username [ schema_element [ ... ] ] For example: CREATE SCHEMA newjunk CREATE TABLE fred (id SERIAL PRIMARY KEY, fname TEXT) CREATE TABLE george (id SERIAL PRIMARY KEY, gname TEXT ); --=20 Oliver Elphick LFIX Limited --=-kLelZCy9yw7Z6NI2Hvcl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA95vZpYU1MND4dDBwRAiL/AJ41heTx2ynjr+6qvyCi/n2pN6al1gCdHltT DviDZ3sKuhwjuPAnl9I0EFA= =Z+Lk -----END PGP SIGNATURE----- --=-kLelZCy9yw7Z6NI2Hvcl--