Re: psql tab completion for DO blocks

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

On Sat, Jan 02, 2010 at 05:10:08PM -0500, Tom Lane wrote:
> 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,

I made one so people couldn't tab complete themselves an unpleasant
surprise. The overhead doesn't seem huge.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2010-01-02 22:21:51 invalid UTF-8 via pl/perl
Previous Message Tom Lane 2010-01-02 22:10:08 Re: psql tab completion for DO blocks