• Tom Lane's avatar
    Replace enum InhOption with simple boolean. · fe591f8b
    Tom Lane authored
    Now that it has only INH_NO and INH_YES values, it's just weird that
    it's not a plain bool, so make it that way.
    
    Also rename RangeVar.inhOpt to "inh", to be like RangeTblEntry.inh.
    My recollection is that we gave it a different name specifically because
    it had a different representation than the derived bool value, but it
    no longer does.  And this is a good forcing function to be sure we
    catch any places that are affected by the change.
    
    Bump catversion because of possible effect on stored RangeVar nodes.
    I'm not exactly convinced that we ever store RangeVar on disk, but
    we have a readfuncs function for it, so be cautious.  (If we do do so,
    then commit e13486eb was in error not to bump catversion.)
    
    Follow-on to commit e13486eb.
    
    Discussion: http://postgr.es/m/CA+TgmoYe+EG7LdYX6pkcNxr4ygkP4+A=jm9o-CPXyOvRiCNwaQ@mail.gmail.com
    fe591f8b
analyze.c 85.8 KB