Re: Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD - Mailing list pgsql-bugs

From Andres Freund
Subject Re: Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD
Date
Msg-id s7u54xhth5lxg5vticfj75bstge4amradtnigbqefcfqqhrzwp@shidj6abnxbf
Whole thread Raw
In response to Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD  (Andrii <andriikrivich@gmail.com>)
Responses Re: Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD
List pgsql-bugs
hi,

On 2026-01-06 14:58:52 +0100, Andrii wrote:
> PostgreSQL server crashes with a segmentation fault when executing ALTER
> USER CURRENT_USER WITH PASSWORD in PostgreSQL 16.10 and 16.11. The crash
> results in immediate termination of the backend process and forces a full
> instance restart.

> Steps to Reproduce
> 
>    1.
> 
>    Connect to PostgreSQL as a regular role (non-superuser):
> 
>    psql -U test_user -d testdb
> 
>    2.
> 
>    Execute the following command:
> 
>    ALTER USER CURRENT_USER WITH PASSWORD 'new_password';

I can't reproduce that.  Is it possible that you have some extensions loaded
that that are hooking into the command?  What is your shared_preload_libraries
set to?

Greetings,

Andres Freund



pgsql-bugs by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: BUG #19355: Attempt to insert data unexpectedly during concurrent update
Next
From: Srinath Reddy Sadipiralla
Date:
Subject: Re: Bug Report: PostgreSQL 16 crashes on ALTER USER CURRENT_USER WITH PASSWORD