"C G" <csgcsg39@hotmail.com> writes:
> SET SESSION AUTHORIZATION username;
> ERROR: syntax error at or near "$1" at character 28
You'll need to use EXECUTE to do this. Utility statements in general
aren't prepared to deal with parameters.
regards, tom lane