Improve psql's tab completion to handle completing attribute names in cases
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Mar 2008 19:19:14 +0000 (19:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Mar 2008 19:19:14 +0000 (19:19 +0000)
commit0866b0bbe7c6b43e0d80e269212124b539617e64
tree3a27777aa70fcbba1b89ea93dd91ce7ea8b42230
parent31286183c0cb5144d770b26db8dd00617c24496d
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.
src/bin/psql/tab-complete.c