• Tom Lane's avatar
    Minor corrections for ALTER TYPE ADD VALUE IF NOT EXISTS patch. · 31510194
    Tom Lane authored
    Produce a NOTICE when the label already exists, for consistency with other
    CREATE IF NOT EXISTS commands.  Also, fix the code so it produces something
    more user-friendly than an index violation when the label already exists.
    This not incidentally enables making a regression test that the previous
    patch didn't make for fear of exposing an unpredictable OID in the results.
    Also some wordsmithing on the documentation.
    31510194
enum.sql 7.4 KB