postgresql/src
Tom Lane 0ec3e13c69 Fix tab completion of "SET variable TO|=" to not offer bogus completions.
Don't think that the context "UPDATE tab SET var =" is a GUC-setting
command.

If we have "SET var =" but the "var" is not a known GUC variable,
don't offer any completions.  The most likely explanation is that
we've misparsed the context and it's not really a GUC-setting command.

Per gripe from Ken Tanzer.  Back-patch to 9.6.  The issue exists
further back, but before 9.6 the code looks very different and it
doesn't actually know whether the "var" name matches anything,
so I desisted from trying to fix it.

Discussion: https://postgr.es/m/CAD3a31XpXzrZA9TT3BqLSHghdTK+=cXjNCE+oL2Zn4+oWoc=qA@mail.gmail.com
2019-07-02 13:35:14 -04:00
..
backend Remove obsolete nbtree "get root" comment. 2019-07-01 22:28:08 -07:00
bin Fix tab completion of "SET variable TO|=" to not offer bogus completions. 2019-07-02 13:35:14 -04:00
common Make script output more pgindent compatible 2019-06-24 22:50:56 +02:00
fe_utils Update stale comments, and fix comment typos. 2019-06-08 10:12:26 -07:00
include Stamp HEAD as 13devel. 2019-07-01 12:50:55 -04:00
interfaces Stamp HEAD as 13devel. 2019-07-01 12:50:55 -04:00
makefiles Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
pl Translation updates 2019-06-17 15:30:20 +02:00
port Stamp HEAD as 13devel. 2019-07-01 12:50:55 -04:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Simplify psql \d's rule for ordering the indexes of a table. 2019-07-02 12:32:49 -04:00
timezone Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
tools Add support for Visual Studio 2019 in build scripts 2019-07-02 14:02:33 +09:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
Makefile.shlib Remove support for non-ELF BSD systems 2019-07-01 23:56:20 +01:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00