Thread

  1. patch: CREATE OR REPLACE FUNCTION autocomplete

    Pavel Stehule <pavel.stehule@gmail.com> — 2012-02-19T19:23:14Z

    Hello
    
    other very simple patch - enhance autocomplete to support CREATE OR
    REPLACE FUNCTION statement
    
    Regards
    
    Pavel Stehule
    
  2. Re: patch: CREATE OR REPLACE FUNCTION autocomplete

    Peter Eisentraut <peter_e@gmx.net> — 2012-03-13T18:32:14Z

    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.