Is it possible to get login username from a current PostgreSQL layer connection in QGIS?
My goal is to automatically populate new objects in a layer with an editor login username (not @user_account_name or @user_full_name, because they are not related to a postgres connection).