Re: Readline support in psql -- worked earlier for me

Поиск
Список
Период
Сортировка
От Peter Kovacs
Тема Re: Readline support in psql -- worked earlier for me
Дата
Msg-id b6e8f2e80806190836r1b7bef64ke749dda1e29c1a27@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Readline support in psql -- worked earlier for me  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Readline support in psql -- worked earlier for me  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Readline support in psql -- worked earlier for me  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
It doesn't appear to be interested in my ~/.inputrc file:

--------------
[pkovacs@pokkermann bin]$ grep '\/home\/pkovacs\/\.' f
stat64("/home/pkovacs/.pgpass", {st_mode=S_IFREG|0600, st_size=66, ...}) = 0
open("/home/pkovacs/.pgpass", O_RDONLY|O_LARGEFILE) = 4
access("/home/pkovacs/.psqlrc-8.3.3", R_OK) = -1 ENOENT (No such file
or directory)
access("/home/pkovacs/.psqlrc", R_OK)   = -1 ENOENT (No such file or directory)
open("/home/pkovacs/.psql_history", O_RDONLY) = 5
stat64("/home/pkovacs/.terminfo", 0xbf8f3a94) = -1 ENOENT (No such
file or directory)
open("/home/pkovacs/.psql_history", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 4
--------------

But looks into /etc/inputrc:

--------------
[pkovacs@pokkermann bin]$ grep 'inputrc' f
stat64("/etc/inputrc", {st_mode=S_IFREG|0644, st_size=758, ...}) = 0
open("/etc/inputrc", O_RDONLY)          = 5
--------------

Should I, perhaps, set something in ~/.psqlrc ? Or is there something
to set in /etc/inputrc ?

Thanks
Peter

On Thu, Jun 19, 2008 at 5:24 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Peter Kovacs" <maxottovonstirlitz@gmail.com> writes:
>> It appears as though psql ignored the settings in my ~/.inputrc file:
>
> Seems to work for me in 8.3.3.  Maybe a permissions problem on your
> .inputrc file?  If you can't figure it out, one way to attack the
> problem is to strace psql startup, then look through the output to
> find where it tries to open .inputrc, and see what happens exactly.
>
>                        regards, tom lane
>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Readline support in psql -- worked earlier for me
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Readline support in psql -- worked earlier for me