Re: Remove getpgusername() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove getpgusername()
Date
Msg-id allgZ34IHVFZo35b@paquier.xyz
Whole thread
In response to Re: Remove getpgusername()  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Thu, Jul 16, 2026 at 08:00:51AM +0900, Michael Paquier wrote:
> That's what I call a historical artifact.  Removing it looks to be
> simply a cleanup of pg_proc.dat.  Will do so if there are no
> objections, freeing an OID is not a bad thing here.

And done this part.

> Documenting it would not hurt, yes.  We use it a lot in the regression
> tests, perhaps some extensions would gain some portability ideas if we
> publish a few words about it.

For this part, if somebody has a patch, feel free.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Why clearing the VM doesn't require registering vm buffer in wal record
Next
From: Chao Li
Date:
Subject: Re: Fix duplicate detection for null-treatment window functions