Re: Remove getpgusername()
От
Michael Paquier
Тема
Re: Remove getpgusername()
Дата
Msg-id
algRIwORXO18_xK4@paquier.xyz
Ответ на
Re: Remove getpgusername() (Heikki Linnakangas)
Список
Дерево обсуждения
Remove getpgusername() Thom Brown <thom@linux.com>
Re: Remove getpgusername() Heikki Linnakangas <hlinnaka@iki.fi>
Re: Remove getpgusername() Michael Paquier <michael@paquier.xyz>
Re: Remove getpgusername() Michael Paquier <michael@paquier.xyz>
Re: Remove getpgusername() surya poondla <suryapoondla4@gmail.com>
On Sun, Jul 05, 2026 at 02:09:19AM +0300, Heikki Linnakangas wrote: > On 03/07/2026 18:35, Thom Brown wrote: >> 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. 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. > On a related note, the "getdatabaseencoding()" function doesn't seem to be > documented... 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. -- Michael
В списке pgsql-hackers по дате отправления
От: Zsolt Parragi
Дата: