IMHO, no on both questions. There's always danger on relying on the value of session variables in general in that an application must either
And what if you use a connection sharing/pooling software ? What happens with the session vars ?
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org