Thread: patch: CREATE OR REPLACE FUNCTION autocomplete

patch: CREATE OR REPLACE FUNCTION autocomplete

From
Pavel Stehule
Date:
Hello

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

Regards

Pavel Stehule

Attachment

Re: patch: CREATE OR REPLACE FUNCTION autocomplete

From
Peter Eisentraut
Date:
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.