Re: psql tab completion for DO blocks - Mailing list pgsql-hackers

From David Fetter
Subject Re: psql tab completion for DO blocks
Date
Msg-id 20100102222139.GD3149@fetter.org
Whole thread Raw
In response to Re: psql tab completion for DO blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: psql tab completion for DO blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Jan 02, 2010 at 05:10:08PM -0500, Tom Lane wrote:
> David Fetter <david@fetter.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@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql tab completion for DO blocks
Next
From: Hannu Krosing
Date:
Subject: invalid UTF-8 via pl/perl