Re: patch: CREATE OR REPLACE FUNCTION autocomplete
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-13T18:32:14Z
Lists: 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.