patch: CREATE OR REPLACE FUNCTION autocomplete

Started by Pavel Stehuleabout 14 years ago2 messageshackers
Jump to latest
#1Pavel Stehule
pavel.stehule@gmail.com

Hello

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

Regards

Pavel Stehule

Attachments:

autocomplete-create-or-replace-function.difftext/x-patch; charset=US-ASCII; name=autocomplete-create-or-replace-function.diffDownload+1-0
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Pavel Stehule (#1)
Re: patch: CREATE OR REPLACE FUNCTION autocomplete

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.