From: Oliver Elphick <olly@lfix.co.uk>
To: yudha <yudha@BonBon.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Select Multi Database / Need More;
Date: 29 Nov 2002 05:08:57 +0000
Message-ID: <1038546537.1383.396.camel@linda.lfix.co.uk> (raw)
In-Reply-To: <016501c297da$d0f2e840$ea00a8c0@yudha>
References: <016501c297da$d0f2e840$ea00a8c0@yudha>
On Fri, 2002-11-29 at 19:08, yudha wrote:
> 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.
You need PostgreSQL 7.3, released yesterday.
junk=# \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
);
--
Oliver Elphick <olly@lfix.co.uk>
LFIX Limited
Attachments:
signature.asc (application/pgp-signature, 188B) download
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: olly@lfix.co.uk, yudha@BonBon.net
Subject: Re: Select Multi Database / Need More;
In-Reply-To: <1038546537.1383.396.camel@linda.lfix.co.uk>
References: <016501c297da$d0f2e840$ea00a8c0@yudha> <1038546537.1383.396.camel@linda.lfix.co.uk>
* 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