diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-14 11:31:22 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-03-14 11:31:49 -0400 |
commit | 2d61d88d8d0be910b54d28448e3fc94f94995792 (patch) | |
tree | 113a1db64f3846509135e4a80fb0b3a245034c04 /src/backend/access/gist/gistxlog.c | |
parent | 3e6385e27105a95ccc00ae475a37f83d431fc730 (diff) | |
download | postgresql-2d61d88d8d0be910b54d28448e3fc94f94995792.tar.gz postgresql-2d61d88d8d0be910b54d28448e3fc94f94995792.zip |
Add missing NULL terminator to list_SECURITY_LABEL_preposition[].
On the machines I tried this on, pressing TAB after SECURITY LABEL led to
being offered ON and FOR as intended, plus random other keywords (varying
across machines). But if you were a bit more unlucky you'd get a crash,
as reported by nummervet@mail.ru in bug #14019.
Seems to have been an aboriginal error in the SECURITY LABEL patch,
commit 4d355a8336e0f226. Hence, back-patch to all supported versions.
There's no bug in HEAD, though, thanks to our recent tab-completion
rewrite.
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions