Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id 655B99FA158 for ; Sun, 19 Nov 2006 16:17:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 18673-05 for ; Sun, 19 Nov 2006 16:17:54 -0400 (AST) X-Greylist: delayed 00:31:55.634899 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 2F9359F9F49 for ; Sun, 19 Nov 2006 16:17:52 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtp.indra.com (smtp.indra.com [209.169.0.20]) by svr4.postgresql.org (Postfix) with ESMTP id 404ED5AF025 for ; Sun, 19 Nov 2006 19:45:56 +0000 (GMT) Received: from [127.0.0.1] (dynamic013.indra.com [209.169.2.18]) by smtp.indra.com (8.13.8/8.13.6) with ESMTP id kAJJkWmI011391 for ; Sun, 19 Nov 2006 12:46:36 -0700 (MST) (envelope-from Charlie@CharlieKelly.com) Message-ID: <4560B46C.50109@CharlieKelly.com> Date: Sun, 19 Nov 2006 12:45:48 -0700 From: Charlie Kelly User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Use Driver to Create database? References: <1163715629.8932.22.camel@mokki.local> In-Reply-To: <1163715629.8932.22.camel@mokki.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200611/89 X-Sequence-Number: 16131 Is it possible to use the driver to create a new database (inside a java program), or is it necessary to first create the database using the createdb utility? If it is possible to use the driver, what is the correct syntax? Thanks Charlie Kelly