Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 063A29FB276 for ; Tue, 27 Feb 2007 02:20:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 96256-05-2 for ; Tue, 27 Feb 2007 02:20:21 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by postgresql.org (Postfix) with ESMTP id 48BD79FB3FD for ; Tue, 27 Feb 2007 02:20:22 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id x4so73903nfb for ; Mon, 26 Feb 2007 22:20:21 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=m+dmIh/vdwmgEel0FHUwsWlK6dxwMPS9SQFgYXo1RFvzrPzlZq2IYJFihkeRyPkvy+OQiphuyaJmq+xBoUjV1S5mEnnHrLQF+Ad/w/5iL14RBullbFkgWlyun/7SR2J49WlSE/ELzPQrVlq+ftv3DarJjTuu/L658vvdIXqXXo4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=Qw2Ux957MI3bpAlUVHfkapHFU/ESF2ldQqBO9zL1I/OoydlkDEq9UEFBYppnYjODffeOnrEGCUtb3GmGNxQ3MG3msbO6oQjIpqt7+AJy5VCkygUqab7d4NvGRY3qxTh5/tRtTHqo+s71Qja4V0+Jbef6OqdV1SgFHFuDVo6GviI= Received: by 10.48.210.20 with SMTP id i20mr390812nfg.1172557220994; Mon, 26 Feb 2007 22:20:20 -0800 (PST) Received: from ?192.168.0.1? ( [91.82.30.16]) by mx.google.com with ESMTP id w7sm26755210mue.2007.02.26.22.20.20; Mon, 26 Feb 2007 22:20:20 -0800 (PST) Message-ID: <45E3CD96.3050904@gmail.com> Date: Tue, 27 Feb 2007 07:20:06 +0100 From: zluspai User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: pgsql-ports@postgresql.org Subject: bundling postgres with an application Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/12 X-Sequence-Number: 2535 Dear Community, We would like to bundle and ship PostgreSQL latest with our java (Tomcat web~) application, that way so PostgreSQL server would be automatically started and stopped by our app. It should run on Windows, and recent versions of Suse, Fedora and RedHat linux distributions. There are few questions arise: - Do we need to compile PostgreSQL to a different binary for each of the mentioned linuxes, or is there an 'universally' compatible binary we could use? I did see that there are different RPMS for different Fedora and RedHat versions, that suggests we need to build it, is it correct? - Also we would like to reduce the distribution size, so what would be the minimum set of files we need to ship? The requirement is to have UTF8 and jdbc/socket connection support to our database. Thank you for your comments in advance, I would happily read any similar experiences of yours. Regards, Zoltan