pgsql: Improve psql's tab completion to handle completing attribute

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve psql's tab completion to handle completing attribute
Date: 2008-03-29 19:19:14
Message-ID: 20080329191914.D3E3C7558E7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Improve psql's tab completion to handle completing attribute names in cases
where the relation name was schema-qualified, for example
UPDATE foo.bar SET <tab>
Also support cases where the relation name was quoted unnecessarily,
for example
UPDATE "foo" SET <tab>

Greg Sabino Mullane, slightly simplified by myself.

Modified Files:
--------------
pgsql/src/bin/psql:
tab-complete.c (r1.169 -> r1.170)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/tab-complete.c?r1=1.169&r2=1.170)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-03-29 19:40:12 pgsql: Improve description of \du and \dg, per suggestion from Harald
Previous Message User Carvalho 2008-03-29 02:49:55 pllua - pllua: Modified raw datum to carry datum instead of datum