Skip site navigation (1) Skip section navigation (2)

Re: psql \i tab completion initialization problem on HEAD

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter van Hardenberg <pvh(at)pvh(dot)ca>
Cc: "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \i tab completion initialization problem on HEAD
Date: 2012-02-24 00:15:18
Message-ID: 27088.1330042518@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter van Hardenberg <pvh(at)pvh(dot)ca> writes:
> While testing Noah's filename quoting patch on my local development
> machine, I noticed some strange behaviour around tab completion with
> \i; it doesn't appear to be present in 9.1, but it is present on 9.2
> HEAD and appears to be present with and without readline.

> It manifests as the client preferring statement completion over
> filename completion until the first time \i is forced to check
> something on disk, after which it begins to work as expected.

Hm, I don't see that here.  I get filename completion immediately.

> Here's a reliable reproduction on my OS X laptop.

OS X?  Are you using GNU readline, or Apple's libedit?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Harold GiménezDate: 2012-02-24 00:38:13
Subject: Reviewing patch "URI connection string support for libpq"
Previous:From: Tom LaneDate: 2012-02-24 00:10:31
Subject: Re: Notes about fixing regexes and UTF-8 (yet again)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group