• Stephen Frost's avatar
    Disallow SET SESSION AUTHORIZATION pg_* · bfed4ab8
    Stephen Frost authored
    As part of reserving the pg_* namespace for default roles and in line
    with SET ROLE and other previous efforts, disallow settings the role
    to a default/reserved role using SET SESSION AUTHORIZATION.
    
    These checks and restrictions on what is allowed regarding default /
    reserved roles are under debate, but it seems prudent to ensure that
    the existing checks at least cover the intended cases while the
    debate rages on.  On me to clean it up if the consensus decision is
    to remove these checks.
    bfed4ab8
variable.c 22.1 KB