OSDN Git Service

> 1) I'm proposing a patch to do the DROP FUNCTION argument tab completion.
authorBruce Momjian <bruce@momjian.us>
Thu, 8 Dec 2005 21:33:58 +0000 (21:33 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 8 Dec 2005 21:33:58 +0000 (21:33 +0000)
commitc03aa1f9c9a52dd8e6c915962c9d4d35675ca5bc
tree5419f0a5098dc277e3049fc761d4367b30845803
parent2986f42984cd0adcbb10ee1932ea7ff643bfbb27
> 1) I'm proposing a patch to do the DROP FUNCTION argument tab completion.
> Now, the arguments of the drop function can be tab completed. for example
>
> drop function strpos (
> <press tab>
> drop FUNCTION strpos (text, text)
>
> or:
>
> wsdb=# drop FUNCTION length (
> bit)        bytea)      character)  lseg)       path)       text)
> <press c>
> wsdb# DROP FUNCTION length ( character)
>
> I think that this patch should be rather useful. At it least I hate
> always to type all the arguments of the dropped functions.
>
> 2) Also some fixes applied for the
> CREATE INDEX syntax
>
> now the parenthesises are inserted by tab pressing.
> suppose I have the table q3c:

Sergey E. Koposov
src/bin/psql/tab-complete.c