aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-03-09 17:00:43 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-03-09 17:00:43 -0300
commite3f1c24b992acb88e4ccf33118640aee4b11dd47 (patch)
tree29eaaf5267fd236cea1a43ebfa9276c8b63a973d /src/backend/access/transam/commit_ts.c
parent31eae6028eca4365e7165f5f33fee1ed0486aee0 (diff)
downloadpostgresql-e3f1c24b992acb88e4ccf33118640aee4b11dd47.tar.gz
postgresql-e3f1c24b992acb88e4ccf33118640aee4b11dd47.zip
Fix crasher bugs in previous commit
ALTER DEFAULT PRIVILEGES was trying to decode the list of roles in the FOR clause as a list of names rather than of RoleSpecs; and the IN clause in CREATE ROLE was doing the same thing. This was evidenced by crashes on some buildfarm machines, though on my platform this doesn't cause a failure by mere chance; I can reproduce the failures only by adding some padding in struct RoleSpecs. Fix by dereferencing those lists as being of RoleSpecs, not string Values.
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions