Re: Database schema

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Dhiraj Gupta *EXTERN*" <dhiraj(dot)g(at)nic(dot)in>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database schema
Date: 2012-12-04 09:37:28
Message-ID: A737B7A37273E048B164557ADEF4A58BA1D5@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dhiraj Gupta wrote:
> I have  created a database name '"ofbiz". then the default  schema name "public "
> created automatically. I want to create schema name ofbiz in the database "ofbiz"
> when I create database name "ofbiz" then the schema name "ofbiz" will create automatically.
> how it is possible if yes,

There is no way to automatically create a schema when you create a database.
Connect to the newly created database and create it with CREATE SCHEMA.
You can DROP SCHEMA public if you don't need it.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Williamson 2012-12-04 09:40:34 Re: Database schema
Previous Message Albe Laurenz 2012-12-04 09:30:31 RE: [GENERAL] Strange Connection Problem….