• Robert Haas's avatar
    Centralize some ALTER <whatever> .. SET SCHEMA checks. · 44475e78
    Robert Haas authored
    Any flavor of ALTER <whatever> .. SET SCHEMA fails if (1) the object
    is already in the new schema, (2) either the old or new schema is
    a temp schema, or (3) either the old or new schema is the TOAST schema.
    
    Extraced from a patch by Dimitri Fontaine, with additional hacking by me.
    44475e78
namespace.h 4.79 KB