X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 93B4F9DCDAD for ; Sat, 17 Dec 2005 09:28:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89004-07 for ; Sat, 17 Dec 2005 09:28:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by postgresql.org (Postfix) with ESMTP id 336DD9DCDB4 for ; Sat, 17 Dec 2005 09:28:49 -0400 (AST) Received: from [84.157.62.222] (helo=lunix.schabi.de) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1Enc1a0OpA-00058d; Sat, 17 Dec 2005 14:22:58 +0100 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lunix.schabi.de (Postfix) with ESMTP id 84BEE64D07; Sat, 17 Dec 2005 14:23:19 +0100 (CET) Message-ID: <43A41147.5040602@logix-tt.com> Date: Sat, 17 Dec 2005 14:23:19 +0100 From: Markus Schaber User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Nidhi Srivastava CC: Kris Jurka , Thomas Dudziak , pgsql-jdbc@postgresql.org, John R Pierce Subject: Re: Create Database using JDBC References: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com> In-Reply-To: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:a9554655f07a4e401310f2acfb43f5bf X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200512/80 X-Sequence-Number: 14411 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