Re: patch: CREATE OR REPLACE FUNCTION autocomplete

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: CREATE OR REPLACE FUNCTION autocomplete
Date: 2012-03-13 18:32:14
Message-ID: 1331663534.11136.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-03-13 18:52:29 Re: pg_upgrade and statistics
Previous Message Kevin Grittner 2012-03-13 18:18:58 Re: pg_upgrade and statistics