2018-09-19 00:58:06 -04:00
|
|
|
------------------------fiscal periods------------------------
|
|
|
|
CREATE TABLE evt.fspr (
|
|
|
|
id ltree
|
|
|
|
,dur tstzrange
|
2018-09-20 15:57:02 -04:00
|
|
|
)
|
|
|
|
|
2018-09-20 15:57:18 -04:00
|
|
|
COMMENT ON COLUMN evt.fspr.id IS 'fiscal period';
|
|
|
|
COMMENT ON COLUMN evt.fspr.dur IS 'duration of period as timestamp range';
|
2018-09-20 15:57:02 -04:00
|
|
|
|
|
|
|
CREATE INDEX id_gist ON evt.fspr USING GIST (id);
|