Re: WIP: extensible enums

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: WIP: extensible enums
Дата
Msg-id 20100823181406.GB3253@fetter.org
обсуждение исходный текст
Ответ на Re: WIP: extensible enums  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Aug 23, 2010 at 01:54:40PM -0400, Tom Lane wrote:
> "Andrew Dunstan" <andrew@dunslane.net> writes:
> > On Mon, August 23, 2010 11:49 am, Alvaro Herrera wrote:
> >> What do you need AFTER for?  Seems to me that BEFORE should be
> >> enough.  (You already have the unadorned syntax for adding an
> >> item after the last one, which is the corner case that BEFORE
> >> alone doesn't cover).
> 
> > You're right. Strictly speaking we don't need it. But it doesn't
> > hurt much to provide it for a degree of symmetry.
> 
> I'm with Alvaro: drop the AFTER variant.  It provides more than one
> way to do the same thing, which isn't that exciting,

Not to you, maybe, but to users, it's really handy to have intuitive,
rather than strictly orthogonal, ways to do things.

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: WIP: extensible enums
Следующее
От: Tom Lane
Дата:
Сообщение: Re: WIP: extensible enums