alter enum add value if not exists
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-08-20T14:52:22Z
Lists: pgsql-hackers
Attachments
- add-enum-ine.patch (text/x-patch) patch
Here is a patch for this feature, which should alleviate some of the woes caused by adding labels not being transactional (and thus not allowing for the catching of errors). (Also available on the add_enum_ine branch at <https://bitbucket.org/adunstan/pgdevel>) cheers andrew