Michiel Lange <michiel@minas.demon.nl> writes:
> I get this error message:
> psql: FATAL: permission denied
As near as I can tell, you must have some code that is trying to do
SET SESSION AUTHORIZATION --- which only a superuser is allowed to do.
Evidently user 20020003 isn't one.
regards, tom lane