aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-08-21 08:22:29 -0400
committerStephen Frost <sfrost@snowman.net>2015-08-21 08:22:29 -0400
commit0070fd8d3c1c8a733c041bfcedd41e38cee0a963 (patch)
treefb0cbc545471a73c3c5be7ce423629f843f453d0 /src/backend/access/transam/commit_ts.c
parent338a8622560f45062958dd290abed66c6004e0ef (diff)
downloadpostgresql-0070fd8d3c1c8a733c041bfcedd41e38cee0a963.tar.gz
postgresql-0070fd8d3c1c8a733c041bfcedd41e38cee0a963.zip
In AlterRole, make bypassrls an int
When reworking bypassrls in AlterRole to operate the same way the other attribute handling is done, I missed that the variable was incorrectly a bool rather than an int. This meant that on platforms with an unsigned char, we could end up with incorrect behavior during ALTER ROLE. Pointed out by Andres thanks to tests he did changing our bool to be the one from stdbool.h which showed this and a number of other issues. Add regression tests to test CREATE/ALTER role for the various role attributes. Arrange to leave roles behind for testing pg_dumpall, but none which have the LOGIN attribute. Back-patch to 9.5 where the AlterRole bug exists.
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions