From: | "Peter Kovacs" <maxottovonstirlitz(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Readline support in psql -- worked earlier for me |
Date: | 2008-06-19 15:36:34 |
Message-ID: | b6e8f2e80806190836r1b7bef64ke749dda1e29c1a27@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
It doesn't appear to be interested in my ~/.inputrc file:
--------------
[pkovacs(at)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(at)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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Peter Kovacs" <maxottovonstirlitz(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-06-19 16:13:20 | Re: Readline support in psql -- worked earlier for me |
Previous Message | Tom Lane | 2008-06-19 15:24:34 | Re: Readline support in psql -- worked earlier for me |