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 81EBA3A19D1 for ; Sun, 16 Jan 2005 16:21:03 +0000 (GMT) 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 50020-01 for ; Sun, 16 Jan 2005 16:20:45 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by svr1.postgresql.org (Postfix) with ESMTP id 609503A1AE5 for ; Sun, 16 Jan 2005 16:20:44 +0000 (GMT) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 619FFC4F2C4 for ; Sun, 16 Jan 2005 11:20:41 -0500 (EST) X-Sasl-enc: gSchqs9kwwU8Y46JMhGqQw 1105892440 Received: from [192.168.5.110] (unknown [194.80.67.65]) by www.fastmail.fm (Postfix) with ESMTP id 8A94275E for ; Sun, 16 Jan 2005 11:20:40 -0500 (EST) Message-ID: <41EA9455.9000301@squarepark.com> Date: Sun, 16 Jan 2005 16:20:37 +0000 From: Jasper Potts Organization: SquarePark Technologies User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Embedding Postgres in Java Application Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200501/155 X-Sequence-Number: 12035 I am developing a desktop GUI application and am using postgres 8. I need to be able to embed/bundle postgres with my application. To start with I am releasing on windows with Linux and OSX later. Is there a way of creating a JDBC connection to the db not over a network socket? The other way is going to be to start/stop the database from Java by calling "pg_ctl start/stop". But that issues with this because of the windows restrictions that postgres can't be run as a user with admin privileges. Any Ideas? Many Thanks Jasper Potts