Обсуждение: patch: CREATE OR REPLACE FUNCTION autocomplete

Поиск
Список
Период
Сортировка

patch: CREATE OR REPLACE FUNCTION autocomplete

От
Pavel Stehule
Дата:
Hello

other very simple patch - enhance autocomplete to support CREATE OR
REPLACE FUNCTION statement

Regards

Pavel Stehule

Вложения

Re: patch: CREATE OR REPLACE FUNCTION autocomplete

От
Peter Eisentraut
Дата:
On sön, 2012-02-19 at 20:23 +0100, Pavel Stehule wrote:
> other very simple patch - enhance autocomplete to support CREATE OR
> REPLACE FUNCTION statement

I see two problems with this:

- We also have other CREATE OR REPLACE variants that this won't
complete.

- It won't complete something like CREATE OR R<tab>, only CREATE O<tab>.
That would be pretty weird.  I think you need to complete each word
separately for consistent behavior.