1.104. setsessionrole( name, text )

Function Properties

Language: C

Return Type: text

setSessionRole(username, role) - set role for session. role can be "normal" or "slon"; setting the latter is necessary, on subscriber nodes, in order to override the denyaccess() trigger attached to subscribing tables.

_Slony_I_setSessionRole