Обсуждение: recompiling to use gnu readline?

Поиск
Список
Период
Сортировка

recompiling to use gnu readline?

От
Andrew Perrin
Дата:
Folks-

I inadvertantly compiled pg 7.0.3 without gnu readline installed, so I now
don't have access to lots of the nice command-line utilities it would have
conveyed. Is there any way to add in the functionality now, or do I need
to recompile? If I need to recompile, how can I do so without wiping out
existing data?

Thanks.

----------------------------------------------------------------------
Andrew J Perrin - Ph.D. Candidate, UC Berkeley, Dept. of Sociology  
Chapel Hill, North Carolina, USA - http://demog.berkeley.edu/~aperrin       aperrin@socrates.berkeley.edu -
aperrin@igc.apc.org



Re: recompiling to use gnu readline?

От
Peter Eisentraut
Дата:
Andrew Perrin writes:

> I inadvertantly compiled pg 7.0.3 without gnu readline installed, so I now
> don't have access to lots of the nice command-line utilities it would have
> conveyed. Is there any way to add in the functionality now, or do I need
> to recompile?

Need to recompile.

> If I need to recompile, how can I do so without wiping out
> existing data?

Just don't wipe it out.  You can use the new executable with existing
data.  In fact you only need to recompile psql (src/bin/psql) after
re-configuring, not the postmaster.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/