Minor enhancement to psql tab completion. If we see "CREATE TEMPORARY",
authorNeil Conway <neilc@samurai.com>
Thu, 26 Apr 2007 18:10:28 +0000 (18:10 +0000)
committerNeil Conway <neilc@samurai.com>
Thu, 26 Apr 2007 18:10:28 +0000 (18:10 +0000)
commit9475aa917dabe2f53b69d377d686602f6696e5e8
treea4a77848ff67b8ece9908bd554fafab2c6ca73dc
parentc765ca24828c4c25d2bff73bcc061f0ea0e52d53
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.
src/bin/psql/tab-complete.c