alter enum add value if not exists

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: alter enum add value if not exists
Date: 2012-08-20 14:52:22
Message-ID: 50324F26.3090809@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
add-enum-ine.patch text/x-patch 11.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-08-20 15:09:19 Re: New WAL code dumps core trivially on replay of bad data
Previous Message Andres Freund 2012-08-20 14:07:48 Re: New WAL code dumps core trivially on replay of bad data