Re: [GENERAL] Recalling previous commands at the PSQL prompt

Поиск
Список
Период
Сортировка
От Gene Selkov, Jr.
Тема Re: [GENERAL] Recalling previous commands at the PSQL prompt
Дата
Msg-id 35B35959.BD27054C@mcs.anl.gov
обсуждение исходный текст
Список pgsql-hackers
Maarten Boekhold wrote:
>
> On Mon, 20 Jul 1998, Gnoh, Chee Seng wrote:
>
> > Hi All,
> >
> > I am new to PostgreSQL. I was wondering if there is a way to recall
> > previous commands at the PSQL prompt, this would save me the hassle of
> > typing the same SQL commands again. Thanks in advance.
>
> Use the up-arrow. If that doesn't work, you probably haven't got
> libreadline/libhistory installed, or they are installed in an unusual
> place where configure couldn't find them.

How about giving psql command history a longer life, like bash does it
(.bash_history)?


Gene

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] using C++ to define new functions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Finding primary keys in a table