Use custom variable nsp.application_user (previous version didn't work as there was no application_user parameter)

this will work only if you set custom_variable_classes in postgresql.conf