Re: Question about partition table

2018-10-28 Thread Thomas Boussekey
Hello Yuxia, As time partitioning is a natively available, I recommend you to use time-partitioning, as it is. You can find below an example I used to subpartition my transaction table by quaterly partition. I have a repository table named miniexport.tby_part_followup to pilot partition creation.

Question about partition table

2018-10-26 Thread Yuxia Qiu
HI Dear PostgreSQL team, I have created a partition table as bellow: *CREATE TABLE* measurement_year_month ( logdate date not null, peaktemp int, unitsales int ) PARTITION BY RANGE (EXTRACT(YEAR FROM logdate), EXTRACT(MONTH FROM logdate)); so the content for this column *partexprs* for