Re: Remove getpgusername()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove getpgusername()
Date: 2026-07-16 22:51:19
Message-ID: allgZ34IHVFZo35b@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2026-07-16 23:46:29 Re: Follow-up fixes for online wal_level change
Previous Message Melanie Plageman 2026-07-16 22:35:30 Re: Why clearing the VM doesn't require registering vm buffer in wal record