• Andrew Dunstan's avatar
    Allow IF NOT EXISTS when add a new enum label. · 6d12b68c
    Andrew Dunstan authored
    If the label is already in the enum the statement becomes a no-op.
    This will reduce the pain that comes from our not allowing this
    operation inside a transaction block.
    
    Andrew Dunstan, reviewed by Tom Lane and Magnus Hagander.
    6d12b68c
enum.sql 7.5 KB