Re: Remove getpgusername()

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Remove getpgusername()
Date: 2026-07-04 23:09:19
Message-ID: 21f5ebfb-9b4a-413d-a315-972e39984440@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Alexander Nestorov 2026-07-04 23:00:19 Re: [PATCH] btree_gist: add cross-type integer operator support for GiST