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=# gran
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
--