Re: extensible enum types

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: extensible enum types
Дата
Msg-id 1277005850.5130.9.camel@jd-desktop.iso-8859-1.charter.com
обсуждение исходный текст
Ответ на Re: extensible enum types  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Список pgsql-hackers
On Sun, 2010-06-20 at 03:42 +0100, Peter Geoghegan wrote:
> >> Thoughts?

> It's very cool to be able to write queries like SELECT * FROM payments
> WHERE payment_type = 'cash', rather than having to recall time and
> again what the PK of cash is within your lookup table.

Ahem. That is what a natural key is for :) 

Joshua D. Drake


> 
> -- 
> Regards,
> Peter Geoghegan
> 

-- 
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering



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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: beta3 & the open items list
Следующее
От: Simon Riggs
Дата:
Сообщение: Small FSM is too large