Re: [PATCH] Alter or rename enum value - Mailing list pgsql-hackers

From Matthias Kurz
Subject Re: [PATCH] Alter or rename enum value
Date
Msg-id CAO=2mx6wDD3kA+XfJ6Lo9y3ENi3R4v_ZBmatb_58X99A-zQZJg@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Alter or rename enum value  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Alter or rename enum value
List pgsql-hackers
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 7 September 2016 at 22:14, Tom Lane <span
dir="ltr"><<ahref="mailto:tgl@sss.pgh.pa.us" target="_blank">tgl@sss.pgh.pa.us</a>></span> wrote:<br
/><blockquoteclass="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span
class="gmail-"><ahref="mailto:ilmari@ilmari.org">ilmari@ilmari.org</a> (Dagfinn Ilmari Mannsåker) writes:<br /> >
Hereis version 6 of the patch, which just adds RENAME VALUE with no IF<br /> > [NOT] EXISTS, rebased onto current
master(particularly the<br /> > transactional ADD VALUE patch).<br /><br /></span>Pushed with some adjustments.  The
onlything that wasn't a matter of<br /> taste is you forgot to update the backend/nodes/ support functions<br /> for
structAlterEnumStmt.<br /><br />                         regards, tom lane<br /></blockquote></div><br /></div><div
class="gmail_extra">Thankyou all for committing this feature!</div><div class="gmail_extra"><br /></div><div
class="gmail_extra">Giventhat you are now familiar with the internals of how enums are implemented would it be possible
tocontinue the work and add the "ALTER TYPE <name> DROP VALUE <somevalue>" command?</div><div
class="gmail_extra"><br/></div><div class="gmail_extra">Thank you!</div><div class="gmail_extra">Regards,
Matthias</div></div>

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Optimization for lazy_scan_heap
Next
From: Andrew Borodin
Date:
Subject: Re: GiST penalty functions [PoC]