pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cris Carampa <cris119@operamail.com>
To: pgsql-admin@postgresql.org
Subject: Re: standalone version of psql.exe?
Date: Thu, 31 Mar 2005 11:33:28 +0200
Message-ID: <d2gg5r$21og$1@news.hub.org> (raw)
In-Reply-To: <d2gdi2$1mha$1@news.hub.org>
References: <d2gdi2$1mha$1@news.hub.org>

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,



view thread (2+ messages)

Message-ID: <d2gg5r$21og$1@news.hub.org>
Permalink:  ../d2gg5r$21og$1@news.hub.org/
Also on:    postgresql.org/message-id/d2gg5r$21og$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: cris119@operamail.com
  Subject: Re: standalone version of psql.exe?
  In-Reply-To: <d2gg5r$21og$1@news.hub.org>
  References: <d2gdi2$1mha$1@news.hub.org> <d2gg5r$21og$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox