X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BA72252A39 for ; Thu, 31 Mar 2005 10:44:15 +0100 (BST) 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 68699-03 for ; Thu, 31 Mar 2005 09:44:11 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id E58E05393C for ; Thu, 31 Mar 2005 10:44:10 +0100 (BST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id j2V9iA7Y069838 for ; Thu, 31 Mar 2005 09:44:10 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id j2V9XlYJ067346 for pgsql-admin@postgresql.org; Thu, 31 Mar 2005 09:33:47 GMT (envelope-from news) From: Cris Carampa X-Newsgroups: pgsql.admin Subject: Re: standalone version of psql.exe? Date: Thu, 31 Mar 2005 11:33:28 +0200 Organization: Hub.Org Networking Services Lines: 24 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 X-Accept-Language: it, en-us In-Reply-To: To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200504/38 X-Sequence-Number: 17051 Cris Carampa wrote: > I'm wondering if there is a packaged standalone version of psql.exe for > Windows, or if there is a way to extract only psql.exe and the required > DLLs from a full PostgreSQL Windows installation and copy these files on > another computer. I have to send some scripts to a client which has a > PostgreSQL 7.4 server on a linux box but no linux knowledge, so I wish > he could run my scripts from his Windows PC without forcing him to > install the whole PostgreSQL 8 database. I'm replying my own post just in case someone needs the same thing. It seems that the required steps are: 1. performing a PGSQL 8.0 client-only installation on a source computer. 2. creating a new directory on the target computer 3. copying c:\program files\postgresql\8.0\psql.exe, ssleay32.dll, libpq.dll, libeay32.dll, libintl-2.dll, libiconv-2.dll from the source computer to the new directory on the target computer. 4. done. It seems to work :) Thank you. Kind regards,