Having difficulties partitionning with jsonb

Поиск
Список
Период
Сортировка
От ouellet marc-andre
Тема Having difficulties partitionning with jsonb
Дата
Msg-id BY5PR11MB4008653FD24DE4348BC3E3109FA50@BY5PR11MB4008.namprd11.prod.outlook.com
обсуждение исходный текст
Ответы Re: Having difficulties partitionning with jsonb  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
CREATE TABLE test ( id integer, data jsonb ) Partition by range (( data #>> '{info,time}' ));

CREATE TABLE test_part1 PARTITION OF test 
    FOR VALUES FROM ('30000') TO ('40000');

INSERT INTO test VALUES (1,'{"info":[{"time":39814.0,"value":2}, {"time":39815.0,"value":3}]}');

Is there a way to do this ? or is it in development? 

Thanks!

Marc

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

Предыдущее
От: "Igal @ Lucee.org"
Дата:
Сообщение: Re: How to install Postgres 12 beta with YUM
Следующее
От: Bikram MAJUMDAR
Дата:
Сообщение: RE: Question on pgwatch