X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9BDC95288B for ; Mon, 4 Jul 2005 08:09:37 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86835-05 for ; Mon, 4 Jul 2005 11:09:28 +0000 (GMT) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.192]) by svr1.postgresql.org (Postfix) with ESMTP id DD65A5284D for ; Mon, 4 Jul 2005 08:09:27 -0300 (ADT) Received: by nproxy.gmail.com with SMTP id g2so151226nfe for ; Mon, 04 Jul 2005 04:09:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=h9w9+z9Yezzm81dkMwaev71HRtyS8+jULS83Jf0+d66i9EGFFy/sBVC9mxWbcQboMPSf8LDQQSt3WWDdLCWxBqstcXuD4a+ZXjKeuslR4S/MxeoD9ZwZLxKYBBwEneEPlllwErtDeQHCPejHzGiuPstfkui5cIi9eXCSN8rAtsI= Received: by 10.48.240.7 with SMTP id n7mr105192nfh; Mon, 04 Jul 2005 04:09:29 -0700 (PDT) Received: by 10.48.249.2 with HTTP; Mon, 4 Jul 2005 04:09:29 -0700 (PDT) Message-ID: <224f323405070404095bd317a3@mail.gmail.com> Date: Mon, 4 Jul 2005 13:09:29 +0200 From: Thomas Dudziak Reply-To: Thomas Dudziak To: pgsql-jdbc@postgresql.org Subject: Re: Create Database using JDBC In-Reply-To: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2BC68159E3EC814BA1E81C108DF99A4203A37FE4@EXCH-IND-VS1.india.quark.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200507/17 X-Sequence-Number: 13165 On 7/4/05, Nidhi Srivastava wrote: >=20 > But even that alternate template database would need to be created the > first time after server installation by connceting to the template1 DB?? > Right?? >=20 > All I want is to automate database creation the first time after server > installation eliminate user inputs But why then not requiring that no one is connected to the template1 database ? That shouldn't be too much of a requirement. Myself, I develop with postgres on a daily basis (using JDBC), and even I have pgAmin only open when necessary eg. for checking that some data was inserted in the db or testing a query. Tom