Having difficulties partitionning with jsonb - Mailing list pgsql-general

From ouellet marc-andre
Subject Having difficulties partitionning with jsonb
Date
Msg-id BY5PR11MB4008653FD24DE4348BC3E3109FA50@BY5PR11MB4008.namprd11.prod.outlook.com
Whole thread Raw
Responses Re: Having difficulties partitionning with jsonb
List 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 by date:

Previous
From: "Igal @ Lucee.org"
Date:
Subject: Re: How to install Postgres 12 beta with YUM
Next
From: Bikram MAJUMDAR
Date:
Subject: RE: Question on pgwatch