postgresql/src/backend
Tom Lane 04c4b495b1 Allow users with BYPASSRLS to alter their own passwords.
The intention in commit 491c029db was to require superuserness to
change the BYPASSRLS property, but the actual effect of the coding
in AlterRole() was to require superuserness to change anything at all
about a BYPASSRLS role.  Other properties of a BYPASSRLS role should
be changeable under the same rules as for a normal role, though.

Fix that, and also take care of some documentation omissions related
to BYPASSRLS and REPLICATION role properties.

Tom Lane and Stephen Frost, per bug report from Wolfgang Walther.
Back-patch to all supported branches.

Discussion: https://postgr.es/m/a5548a9f-89ee-3167-129d-162b5985fcf8@technowledgy.de
2020-11-03 15:41:32 -05:00
..
access Fix missing fsync of SLRU directories. 2020-09-24 10:35:10 +12:00
bootstrap Revert "Skip WAL for new relfilenodes, under wal_level=minimal." 2020-03-22 09:24:15 -07:00
catalog Fix misleading error message about inconsistent moving-aggregate types. 2020-09-06 12:55:59 -04:00
commands Allow users with BYPASSRLS to alter their own passwords. 2020-11-03 15:41:32 -05:00
executor Be more careful about the shape of hashable subplan clauses. 2020-08-14 22:14:03 -04:00
foreign Remove GetUserMappingId() and GetUserMappingById(). 2016-07-22 11:32:23 -04:00
lib Revert "Permit dump/reload of not-too-large >1GB tuples" 2016-12-06 12:46:03 -03:00
libpq In the postmaster, rely on the signal infrastructure to block signals. 2020-10-15 12:50:57 -04:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:04 -08:00
nodes Get rid of trailing semicolons in C macro definitions. 2020-05-01 17:28:01 -04:00
optimizer Relax some asserts in merge join costing code 2020-10-20 00:03:16 +13:00
parser Fix optimization hazard in gram.y's makeOrderedSetArgs(), redux. 2020-10-07 18:42:41 -04:00
po Translation updates 2020-08-10 15:34:18 +02:00
port Fix race condition in our Windows signal emulation. 2019-12-09 15:03:52 -05:00
postmaster In the postmaster, rely on the signal infrastructure to block signals. 2020-10-15 12:50:57 -04:00
regex Fix misoptimization of "{1,1}" quantifiers in regular expressions. 2019-05-12 18:53:42 -04:00
replication Archive timeline history files in standby if archive_mode is set to "always". 2020-09-29 16:25:20 +09:00
rewrite Make rewriter prevent auto-updates on views with conditional INSTEAD rules. 2020-01-14 09:49:23 +00:00
snowball Update copyright for 2016 2016-01-02 13:33:40 -05:00
storage Avoid invalid alloc size error in shm_mq 2020-10-20 15:35:31 +02:00
tcop Use the properly transformed RangeVar for expandTableLikeClause(). 2020-09-13 12:51:21 -04:00
tsearch Avoid possible dangling-pointer access in tsearch_readline_callback. 2020-09-23 11:36:13 -04:00
utils Fix memory leak when guc.c decides a setting can't be applied now. 2020-10-12 13:31:24 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Fix make rules that generate multiple output files. 2018-03-23 13:45:38 -04:00
nls.mk Translation updates 2018-08-06 19:44:29 +02:00