• Tom Lane's avatar
    Support renaming an existing value of an enum type. · 0ab9c56d
    Tom Lane authored
    Not much to be said about this patch: it does what it says on the tin.
    
    In passing, rename AlterEnumStmt.skipIfExists to skipIfNewValExists
    to clarify what it actually does.  In the discussion of this patch
    we considered supporting other similar options, such as IF EXISTS
    on the type as a whole or IF NOT EXISTS on the target name.  This
    patch doesn't actually add any such feature, but it might happen later.
    
    Dagfinn Ilmari Mannsåker, reviewed by Emre Hasegeli
    
    Discussion: <CAO=2mx6uvgPaPDf-rHqG8=1MZnGyVDMQeh8zS4euRyyg4D35OQ@mail.gmail.com>
    0ab9c56d
parsenodes.h 104 KB