Re: WIP: RangeTypes
| От | Peter Eisentraut |
|---|---|
| Тема | Re: WIP: RangeTypes |
| Дата | |
| Msg-id | 1297103561.2099.4.camel@vanquo.pezone.net обсуждение исходный текст |
| Ответ на | Re: WIP: RangeTypes (Jeff Davis <pgsql@j-davis.com>) |
| Ответы |
Re: WIP: RangeTypes
|
| Список | pgsql-hackers |
On sön, 2011-01-30 at 14:52 -0800, Jeff Davis wrote: > * naming issues: > - period -> tsrange ? > - periodtz -> tstzrange ? > - intrange -> int4range Have you considered a grammar approach like for arrays, so that you would write something like CREATE TABLE ... ( foo RANGE OF int ); instead of explicitly creating a range type for every scalar type in existence? I think that that might be easier to use in the common case. I guess the trick might be how to store and pass the operator class and some other parameters.
В списке pgsql-hackers по дате отправления: