Re: patch: CREATE OR REPLACE FUNCTION autocomplete - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: patch: CREATE OR REPLACE FUNCTION autocomplete
Date
Msg-id 1331663534.11136.1.camel@vanquo.pezone.net
Whole thread Raw
In response to patch: CREATE OR REPLACE FUNCTION autocomplete  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
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.




pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: pg_upgrade and statistics
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade and statistics