Re: s/LABEL/VALUE/ for ENUMs
От | Robert Haas |
---|---|
Тема | Re: s/LABEL/VALUE/ for ENUMs |
Дата | |
Msg-id | AANLkTi=+s6bq1n2tFE5=0VKZrbaT2HCm6gcWoDP85bVG@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: s/LABEL/VALUE/ for ENUMs ("David E. Wheeler" <david@kineticode.com>) |
Ответы |
Re: s/LABEL/VALUE/ for ENUMs
Re: s/LABEL/VALUE/ for ENUMs |
Список | pgsql-hackers |
On Tue, Nov 23, 2010 at 2:01 PM, David E. Wheeler <david@kineticode.com> wrote: > On Nov 22, 2010, at 6:03 PM, Josh Berkus wrote: > >> ... "original patch". Sorry. Let's not fiddle with the names. > > To be clear, as things stand now, the new command is: > > ALTER TYPE name ADD VALUE new_enum_value [ { BEFORE | AFTER } existing_enum_value ] > > So while the term in the SQL statement is "VALUE," it's called a "label" in the documentation. I think that's confusing.Does anyone else? Yes. As between the two options, I favor changing the command. And let's also paint it pink. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: