aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-04-14 11:10:32 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-04-14 11:18:47 -0400
commit4dfb065b3ab662dcc96d07ee7fc9dadf6975a0cb (patch)
tree928e0bbc28f649ed28a7dfc3a816f449247dc119 /src/backend/commands/dbcommands.c
parentf0aa6c06d4e114ecb7ed81a2168238bbcfd54878 (diff)
downloadpostgresql-4dfb065b3ab662dcc96d07ee7fc9dadf6975a0cb.tar.gz
postgresql-4dfb065b3ab662dcc96d07ee7fc9dadf6975a0cb.zip
Fix bogus handling of bad strategy number in GIST consistent() functions.
Make sure we throw an error instead of silently doing the wrong thing when fed a strategy number we don't recognize. Also, in the places that did already throw an error, spell the error message in a way more consistent with our message style guidelines. Per report from Paul Jones. Although this is a bug, it won't occur unless a superuser tries to do something he shouldn't, so it doesn't seem worth back-patching.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions