]> granicus.if.org Git - postgresql/commit
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)
commit5787d50acc9bb8125de26b986cf4ea8cd874feea
tree2ddef1b1e78ec01eb7c85ff7b43b8b607b7bbd3f
parent6fc9d4272c23ae50c888d142ea37e91a2482b2d2
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