CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 02/05/06 15:47:30
Modified files:
doc/src/sgml/ref: set_session_auth.sgml
src/backend/commands: variable.c
src/backend/parser: gram.y
src/backend/utils/init: miscinit.c
Log message:
Accept SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION
to reset session userid to the originally-authenticated name. Also,
relax SET SESSION AUTHORIZATION to allow specifying one's own username
even if one is not superuser, so as to avoid unnecessary error messages
when loading a pg_dump file that uses this command. Per discussion from
several months ago.