Re: psql shell problem

Поиск
Список
Период
Сортировка
От Denis A. Doroshenko
Тема Re: psql shell problem
Дата
Msg-id 20010521201433.R20514@comrade.omnitel.lan
обсуждение исходный текст
Ответ на Re: psql shell problem  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: psql shell problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, May 21, 2001 at 07:17:23PM +0200, Peter Eisentraut wrote:
> Denis A. Doroshenko writes:
>
> > On Mon, May 21, 2001 at 05:28:22PM +0200, Peter Eisentraut wrote:
> > > Frank Bax writes:
> > >
> > > > I have a machine with OpenBSD 2.6 and PSQL 6.5.3 that allows the use of
> > > > up-arrow to retreive/edit previous commands.
> > > >
> > > > I recently built a new machine with OpenBSD 2.8 and PSQL 7.0.2 (from
> > > > package) and this feature is GONE!
> > >
> > > Install readline and rebuild.
> >
> > no need for that. OpenBSD has GNU readline. may be not the
> > latest-coolest-super-duper-GNU-tool-that-fits-all-and-even-more, but
> > normal library which _works_ if before making you move one line in
> > psql's input.h. why install new if the older one works like a charm?
>
> You must have a peculiar definition of "works" and "charm", if you read
> the original poster's message.

well, i feel like you must have a peculiar definition of word "peculiar".
:-P what's wrong with my answer? the original poster writes he
installed pgsql from _packages_, that is binary distribution, which
was compiled simply with configure/gmake. i just said that configure
picks up libreadline shipped with OpenBSD, but because of way defines
are defined (brrr), input.h doesn't define one more define (huh) and
thus history is out of the psql binary. if you change the history a
bit (btw, it will look _more logical_), then history will be ok with
the very same vanilla OS (that is no additional readline library).

well, i has been ranting a bit :-) this GPRS devices with label
"SAMPLE" drive me mad... sorry...

--
Denis A. Doroshenko  [GPRS/IN/WAP, VAS group engineer] .-.        _|_  |
[Omnitel Ltd., T.Sevcenkos st. 25, Vilnius, Lithuania] | | _ _  _ .| _ |
[Phone: +370 9863486 E-mail: d.doroshenko@omnitel.net] |_|| | || |||(/_|_

В списке pgsql-general по дате отправления:

Предыдущее
От: Feite Brekeveld
Дата:
Сообщение: Re: Spliting a table/databases between several disks ?
Следующее
От: dave go
Дата:
Сообщение: Select statement