Re: psql tab completion for DO blocks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql tab completion for DO blocks
Date: 2010-01-02 22:10:08
Message-ID: 19604.1262470208@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter <david(at)fetter(dot)org> writes:
>> It doesn't actually work, because the query isn't paying attention to
>> the current partial word. Try do language pl<tab>, or just compare
>> source to the original Query_for_list_of_languages.

> Thanks for the heads-up. New patch attached :)

My inclination is to not have the separate query at all, but just
use Query_for_list_of_languages. The extra maintenance burden of
two almost identical queries is not justified here IMO. Maybe it
would be if we foresaw that most languages would remain without
inline handlers indefinitely, but I think that pretty soon the
only one that the query is actually excluding would be 'C', and
it's not worth trying to remove that from the list.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2010-01-02 22:21:39 Re: psql tab completion for DO blocks
Previous Message David Fetter 2010-01-02 22:06:04 Re: psql tab completion for DO blocks