Re: [PATCH] Improve autocompletion for SELECT statements - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: [PATCH] Improve autocompletion for SELECT statements
Date
Msg-id 1321309903.2122.78.camel@localhost.localdomain
Whole thread Raw
In response to Re: [PATCH] Improve autocompletion for SELECT statements  (Wander Winkelhorst <w.winkelhorst@gmail.com>)
List pgadmin-hackers
On Mon, 2011-11-14 at 21:15 +0100, Wander Winkelhorst wrote:
> On Mon, Nov 14, 2011 at 10:16 AM, Dave Page <dpage@pgadmin.org> wrote:
> >
> >
> > FYI, I just took a look at the patch and it does touch
> > tab-complete.inc - it certainly should *not* do that, as
> > tab-complete.inc is generated with tabcomplete.pl from the upstream
> > tab-complete.c. Any changes made to it are likely to be lost the next
> > time it's updated. If that file must be changed, then it should be
> > done by tab-complete.pl, though frankly it would be better to push the
> > changes into psql first.
> >
>
> Could you please tell me how I'm supposed to use tabcomplete.pl, and where
> I can get the correct version of  tab-complete.c?
>

I suppose it comes from the psql source files, but I don't know more.

You'll need to wait Dave for a more complete answer.

BTW, it means the previous patch needs to follow the same path.

> On Sun, Nov 13, 2011 at 11:06 PM, Guillaume Lelarge <guillaume@lelarge.info>
>  wrote:
> > They all are part of fbb_categories. Unfortunately, that doesn't explain
> > the comma
>
> That's because the comma gets recognized as a table alias :)
> I'm going to take a look at these issues soon.
>

Yeah, I guessed that was the issue :)


--
Guillaume
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Compilation on Debian SID
Next
From: Ashesh Vashi
Date:
Subject: Re: pgAdmin III commit: Update french translation