Thread: psql only on client (RPM)
I just sorted out an arp table issue that was keeping me from connecting to a remote database but now the installation script I'm using requires psql on a pretty much stripped down system, ie. no Pg installed. This was addressed on this list at least once but searches in the archives yielded no results (for me). What RPM(s) do I need to get just the client pieces to use psql? Rod -- "Open Source Software - Sometimes you get more than you paid for..."
On Wednesday 09 July 2003 19:38, Roderick A. Anderson wrote: > I just sorted out an arp table issue that was keeping me from connecting > to a remote database but now the installation script I'm using requires > psql on a pretty much stripped down system, ie. no Pg installed. > This was addressed on this list at least once but searches in the archives > yielded no results (for me). What RPM(s) do I need to get just the client > pieces to use psql? Install postgresql-libs and postgresql. I think that should be everything you need, if I've set it up correctly. If you had a custom app that only needed libpq, you could just intall postgresql-libs (such as php or perl-DBI/DBD). But psql itself lives in the postgresql rpm, and libpq in postgresql-libs. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
On Thu, 10 Jul 2003, Lamar Owen wrote: > Install postgresql-libs and postgresql. I think that should be everything you > need, if I've set it up correctly. If you had a custom app that only needed > libpq, you could just intall postgresql-libs (such as php or perl-DBI/DBD). > But psql itself lives in the postgresql rpm, and libpq in postgresql-libs. Found and tried a cheap trick. FWIW, I'm running Pg in a vserver and needed the psql in another vserver. Copying psql into the vserver worked good enough to get my application to install. A thought that comes to mind is client-only packages (really trimmed down) for each platform. Not sure about the Windows systems but seems to me and the U**X like systems would/could use this. I do use the ODBC driver on a couple of Windows systems but I could have really benefited from a 'psql -h example.com' option many times on systems where Pg is not installed. Rod -- "Open Source Software - Sometimes you get more than you paid for..."