public inbox for [email protected]
help / color / mirror / Atom feedFrom: Euler Taveira <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: Can we only add values to enums?
Date: Fri, 16 Mar 2018 00:33:54 -0300
Message-ID: <CAHE3wgiMsjPcrDWpiY37kAv==A+d2JiEWtC0zgBMDs2fmdsZuw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
2018-03-12 20:28 GMT-03:00 PG Doc comments form <[email protected]>:
> I need to add a value to an enum, so I found this page, which answered my
> question. However, I found it quite confusing that it only documents adding
> a value. I would expect it to also document how to remove a value from an
> enum? Is this not possible? If not, I consider it a bug. But either way, if
> it is not possible, you should explicitly document it on this page.
>
If it is not document, this means that it is not supported. It is not
a bug. It is by design. Read the discussion about this feature at [1].
Removing a enum value requires a table rewrite. I'm not sure it is
worth a note.
[1] https://www.postgresql.org/message-id/[email protected]
--
Euler Taveira Timbira -
http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Can we only add values to enums?
In-Reply-To: <CAHE3wgiMsjPcrDWpiY37kAv==A+d2JiEWtC0zgBMDs2fmdsZuw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox