From: Andreas Kretschmer <akretschmer@spamfence.net>
To: pgsql-sql@postgresql.org
Subject: Re: Create Public Schema
Date: Sun, 20 Nov 2005 09:49:39 +0100
Message-ID: <20051120084939.GA1692@kaufbach.delug.de> (raw)
In-Reply-To: <1132455784_77546@S3.cableone.net>
References: <1132455784_77546@S3.cableone.net>
rsosnowski@cableone.net <rsosnowski@cableone.net> schrieb:
> Hello all,
>
> I'm trying to create a schema that contains the default tables, functions,
> etc. of the public schema. Using pgAdmin, when I create a schema, it is blank
1. make a dump from the public-schema
2. edit the dump and change 'public' to 'foobar' (the new schema-name)
3. restore the schema from dump
Now you have a exactly copy from 'public' with name 'foobar'.
HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: akretschmer@spamfence.net
Subject: Re: Create Public Schema
In-Reply-To: <20051120084939.GA1692@kaufbach.delug.de>
* 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