From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | yudha <yudha(at)BonBon(dot)net> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Select Multi Database / Need More; |
Date: | 2002-11-29 05:08:57 |
Message-ID: | 1038546537.1383.396.camel@linda.lfix.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)lfix(dot)co(dot)uk>
LFIX Limited
From | Date | Subject | |
---|---|---|---|
Next Message | yudha | 2002-11-29 19:08:54 | Re: Select Multi Database / Need More; |
Previous Message | David Jericho | 2002-11-29 02:58:31 | Re: H/W RAID 5 on slower disks versus no raid on faster HDDs |