Re: standalone version of psql.exe? - Mailing list pgsql-admin

From Cris Carampa
Subject Re: standalone version of psql.exe?
Date
Msg-id d2gg5r$21og$1@news.hub.org
Whole thread Raw
In response to standalone version of psql.exe?  (Cris Carampa <cris119@operamail.com>)
List pgsql-admin
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,

pgsql-admin by date:

Previous
From: Jason DiCioccio
Date:
Subject: PITR/Online Backups? When can I delete archived WAL logs?
Next
From: "Dario Pudlo"
Date:
Subject: postgres 7.2.1 pg_restore large objects