From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Bug in psql tab completion |
Date: | 2001-07-25 22:48:04 |
Message-ID: | 200107252248.f6PMm4P19785@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I just checked and putting any text in place of 'te' generates 'SET'.
This is becausee the tab completion code thinks 'UPDATE ON te' is an
update on table ON. The tasble comletion stuff is pretty good, but not
perfect.
> Try this:
>
> test=# create table test (a int4);
> CREATE
> test=# grant select, update on te
>
> Stop there and press 'TAB' to complete the word 'test'.
>
> Your command line then gets rewritten to :
>
> grant select, update on SET
>
> It seems that it occurs when you have commas in there...
>
> Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-07-25 22:53:21 | Re: [GENERAL] Bad timestamp external representation |
Previous Message | John Gray | 2001-07-25 18:12:28 | Re: Re: Storing XML in PostgreSQL |