Thread: Selectively Compile psql

Selectively Compile psql

From
Samik Raychauhduri
Date:
Hello,
I guess this question will be too easy to most of the people here, 
though I couldn't figure this out myself. I want to recompile only psql 
with the readline library. When I installed PG, GNU readline package was 
not there. Now db is running fine, and I don't want to disturb it. Can 
anybody point me to the brief steps to do this.
Thanks in advance.
Regards.
-Samik



Re: Selectively Compile psql

From
Tom Lane
Date:
Samik Raychauhduri <samik@cae.wisc.edu> writes:
> I guess this question will be too easy to most of the people here, 
> though I couldn't figure this out myself. I want to recompile only psql 
> with the readline library. When I installed PG, GNU readline package was 
> not there. Now db is running fine, and I don't want to disturb it. Can 
> anybody point me to the brief steps to do this.

There is not presently any method to recompile only psql.  However, you
could reinstall only psql.  Try this:
cd ...postgres top directory..../configure same-options-as-you-used-beforemakecd src/bin/psqlmake install
        regards, tom lane