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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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