From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Seb <spluque(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: tabs in psql |
Date: | 2008-03-24 03:42:22 |
Message-ID: | 18606.1206330142@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Seb <spluque(at)gmail(dot)com> writes:
> But the problem still occurs with 'psql -f INPUTFILE', where tab
> complete is irrelevant, so I'm confused.
You sure? I can't make the example fail that way. It does fail
when the example-with-tab is cut and pasted directly into a terminal
window, which is exactly as expected because that's exactly what
would happen if you interactively typed a TAB at that point. psql
doesn't see anything to complete with so it just beeps at you, without
adding anything to the input.
If you need to enter stuff like this interactively in psql, use -n
to disable readline.
You really shouldn't need -n to prevent tab completion in a -f file
though. If you can reproduce that then file a bug against whatever
version of readline you're using.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Anton Andreev | 2008-03-24 11:46:53 | How to "use" database? |
Previous Message | Seb | 2008-03-24 01:26:50 | Re: tabs in psql |