]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove SQL function getpgusername()
authorMichael Paquier <michael@paquier.xyz>
Thu, 16 Jul 2026 22:40:10 +0000 (07:40 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 16 Jul 2026 22:40:10 +0000 (07:40 +0900)
commit7af998936d304b676d4e8fb2f2780560cf8443ca
tree08d0d2d9c2b367e7743ee07fe40d52c01e832abc
parentcea74f48d36bc1073da0adab755946ad94aa6902
Remove SQL function getpgusername()

Since 457ac0331cd3, current_user() is the recommended way to get access
to this information, and getpgusername() was marked as deprecated since,
without being documented.

Bump catalog version.

Reported-by: Thom Brown <thom@linux.com>
Discussion: https://postgr.es/m/CAA-aLv44sPoKhHZqBvhqRdrFUEKwatGEmXBtqC360UuD5Lt7Nw@mail.gmail.com
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat