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

From Heikki Linnakangas
Subject Re: Remove getpgusername()
Date
Msg-id 21f5ebfb-9b4a-413d-a315-972e39984440@iki.fi
Whole thread
In response to Remove getpgusername()  (Thom Brown <thom@linux.com>)
Responses Re: Remove getpgusername()
List pgsql-hackers
On 03/07/2026 18:35, Thom Brown wrote:
> Hi,
> 
> This function has been deprecated for 25 years (version 7.1). Can we
> finally tear it out?

Heh, +1 from me. One could also argue that it doesn't really do any 
harm. But I'm generally in favor of removing deprecated stuff even if 
they're not actively getting in the way, after enough time has passed.

On a related note, the "getdatabaseencoding()" function doesn't seem to 
be documented...

- Heikki




pgsql-hackers by date:

Previous
From: Alexander Nestorov
Date:
Subject: Re: [PATCH] btree_gist: add cross-type integer operator support for GiST
Next
From: Samba Siva Reddy Chinta
Date:
Subject: Re: [PATCH] Add hook for plugins to acquire sample rows during ANALYZE