From: Markus Schaber <schabi@logix-tt.com>
To: Nidhi Srivastava <nsrivastava@quark.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Thomas Dudziak <tomdzk@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Cc: John R Pierce <pierce@hogranch.com>
Subject: Re: Create Database using JDBC
Date: Sat, 17 Dec 2005 14:23:19 +0100
Message-ID: <43A41147.5040602@logix-tt.com> (raw)
In-Reply-To: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com>
References: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com>
Hi, Nidhi,
Nidhi Srivastava schrieb:
> But even that alternate template database would need to be created the
> first time after server installation by connceting to the template1 DB??
> Right??
No, you can specify any database that has no active connections (exept
possibly your own single one) as template on database creation,
including template0 (which is usually set up to refuse connections).
So connect to template1, and create your new template database with
using template0 as template.
HTH,
Markus
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-jdbc@postgresql.org
Cc: schabi@logix-tt.com, nsrivastava@quark.com, books@ejurka.com, tomdzk@gmail.com, pierce@hogranch.com
Subject: Re: Create Database using JDBC
In-Reply-To: <43A41147.5040602@logix-tt.com>
References: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com> <43A41147.5040602@logix-tt.com>
* 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