postgresql/src/backend
Tom Lane 77df80cf69 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:36:27 +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:56:10 -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 Code review for foreign/custom join pushdown patch. 2015-05-10 14:36:36 -04:00
lib Revert "Permit dump/reload of not-too-large >1GB tuples" 2016-12-06 12:45:49 -03:00
libpq Avoid logging complaints about abandoned connections when using PAM. 2019-11-05 14:27:37 -05:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:04 -08:00
nodes Revert "Skip WAL for new relfilenodes, under wal_level=minimal." 2020-03-22 09:24:15 -07:00
optimizer Relax some asserts in merge join costing code 2020-10-20 00:01:44 +13:00
parser Fix optimization hazard in gram.y's makeOrderedSetArgs(), redux. 2020-10-07 18:42:49 -04:00
po Translation updates 2020-08-10 15:36:46 +02:00
port Fix race condition in our Windows signal emulation. 2019-12-09 15:03:52 -05:00
postmaster Use _exit(2) for SIGQUIT during ProcessStartupPacket, too. 2020-09-10 12:06:26 -04:00
regex Fix misoptimization of "{1,1}" quantifiers in regular expressions. 2019-05-12 18:53:43 -04:00
replication Archive timeline history files in standby if archive_mode is set to "always". 2020-09-29 16:25:51 +09:00
rewrite Make rewriter prevent auto-updates on views with conditional INSTEAD rules. 2020-01-14 09:48:44 +00:00
snowball Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
storage Avoid invalid alloc size error in shm_mq 2020-10-20 17:22:41 +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 for mingw/cygwin build outputs 2011-06-09 18:11:47 +02: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 2015-02-01 23:23:40 -05:00