Re: Enhancement - code completion when typing set search_path

Lists: pgsql-hackers
From: "Campbell, Lance" <lance(at)illinois(dot)edu>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Enhancement - code completion when typing set search_path
Date: 2009-07-17 15:34:34
Message-ID: B10E6810AC2A2F4EA7550D072CDE876001D20EAF@SAB-FENWICK.sab.uiuc.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


I use postgres 8.1.X.

Is there a way to add code completion when entering:

set search_path = xyz

I love the code completion for SQL. It would be really nice to have
it for the "set search_path".

Thanks,

Lance Campbell
Project Manager/Software Architect/DBA
Web Services at Public Affairs
217-333-0382

-----Original Message-----
From: Andreas Wenk [mailto:a(dot)wenk(at)netzmeister-st-pauli(dot)de]
Sent: Friday, July 17, 2009 8:18 AM
To: Campbell, Lance
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Enhancement - code completion when typing set
search_path

Campbell, Lance schrieb:
> I use postgres 8.1.X.
>
> Is there a way to add code completion when entering:
>
> set search_path = xyz
>
> I love the code completion for SQL. It would be really nice to have
> it for the "set search_path".

me too ;-)

you should send this request to the hackers list ... maybe it will be
integrated in future versions ...

pgsql-hackers(at)postgresql(dot)org

Cheers

Andy


From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "Campbell, Lance" <lance(at)illinois(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Enhancement - code completion when typing set search_path
Date: 2009-07-17 17:41:34
Message-ID: 603c8f070907171041p3226be08sf6fbfda22fbb9e19@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Jul 17, 2009 at 11:34 AM, Campbell, Lance<lance(at)illinois(dot)edu> wrote:
>
> I use postgres 8.1.X.
>
> Is there a way to add code completion when entering:
>
> set search_path = xyz
>
> I love the code completion for SQL.  It would be really nice to have
> it for the "set search_path".

It sounds like a good idea to me; maybe you'd be interested it writing
a patch to do it?

...Robert


From: David Fetter <david(at)fetter(dot)org>
To: "Campbell, Lance" <lance(at)illinois(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Enhancement - code completion when typing set search_path
Date: 2009-07-17 21:57:14
Message-ID: 20090717215714.GB6242@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Jul 17, 2009 at 10:34:34AM -0500, Campbell, Lance wrote:
>
> I use postgres 8.1.X.
>
> Is there a way to add code completion when entering:
>
> set search_path = xyz
>
> I love the code completion for SQL. It would be really nice to have
> it for the "set search_path".
>
> Thanks,

You'll want to patch 8.5-to-be's psql, as we do not add new features
into back-patches. Fortunately, 8.4 and up have backward-compatible
psqls, so much of the infrastructure is already there :)

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

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