PostgreSQL 12.22 commit log

Stamp 12.22.

commit   : 498f30a8b7025a2a7bd3715acc1d1692122ba542    
  
author   : Tom Lane <[email protected]>    
date     : Mon, 18 Nov 2024 15:41:03 -0500    
  
committer: Tom Lane <[email protected]>    
date     : Mon, 18 Nov 2024 15:41:03 -0500    

Click here for diff

M configure
M configure.in
M src/include/pg_config.h.win32
M src/interfaces/libpq/libpq.rc.in
M src/port/win32ver.rc

Release notes for 17.2, 16.6, 15.10, 14.15, 13.18, 12.22.

commit   : c4b39f26dc881d6496561f87c43a04c6dc1ba12f    
  
author   : Tom Lane <[email protected]>    
date     : Sat, 16 Nov 2024 17:10:08 -0500    
  
committer: Tom Lane <[email protected]>    
date     : Sat, 16 Nov 2024 17:10:08 -0500    

Click here for diff

M doc/src/sgml/release-12.sgml

Fix per-session activation of ALTER {ROLE|DATABASE} SET role.

commit   : c463338656ac47e5210fcf9fbf7d20efccce8de8    
  
author   : Noah Misch <[email protected]>    
date     : Fri, 15 Nov 2024 20:39:56 -0800    
  
committer: Noah Misch <[email protected]>    
date     : Fri, 15 Nov 2024 20:39:56 -0800    

Click here for diff

After commit 5a2fed911a85ed6d8a015a6bafe3a0d9a69334ae, the catalog state  
resulting from these commands ceased to affect sessions.  Restore the  
longstanding behavior, which is like beginning the session with a SET  
ROLE command.  If cherry-picking the CVE-2024-10978 fixes, default to  
including this, too.  (This fixes an unintended side effect of fixing  
CVE-2024-10978.)  Back-patch to v12, like that commit.  The release team  
decided to include v12, despite the original intent to halt v12 commits  
earlier this week.  
  
Tom Lane and Noah Misch.  Reported by Etienne LAFARGE.  
  
Discussion: https://postgr.es/m/CADOZwSb0UsEr4_UTFXC5k7=fyyK8uKXekucd+-uuGjJsGBfxgw@mail.gmail.com  

M src/backend/utils/init/miscinit.c
M src/backend/utils/misc/guc.c
M src/test/modules/unsafe_tests/Makefile
A src/test/modules/unsafe_tests/expected/setconfig.out
A src/test/modules/unsafe_tests/sql/setconfig.sql