pgsql: Minor enhancement to psql tab completion. - Mailing list pgsql-committers

From neilc@postgresql.org (Neil Conway)
Subject pgsql: Minor enhancement to psql tab completion.
Date
Msg-id 20070426181028.8B8329FBA04@postgresql.org
Whole thread Raw
Responses Re: pgsql: Minor enhancement to psql tab completion.  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-committers
Log Message:
-----------
Minor enhancement to psql tab completion. If we see "CREATE TEMPORARY",
we can complete "TABLE". The previous coding only looked for "CREATE TEMP".

Note that I didn't add TEMPORARY to the list of suggested completions
after we've seen "CREATE", since TEMP is equivalent and more concise. But
if the user has already manually typed TEMPORARY, we may as well
complete TABLE for them.

Modified Files:
--------------
    pgsql/src/bin/psql:
        tab-complete.c (r1.162 -> r1.163)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/tab-complete.c.diff?r1=1.162&r2=1.163)

pgsql-committers by date:

Previous
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Minor tweak for DISCARD ref page.
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: pgsql: Minor enhancement to psql tab completion.