On Thu, May 28, 2015 at 12:42 PM, Melvin Davidson <melvin6925@gmail.com> wrote:
>
> Generally, when you partition, data should only be in child tables, and the parent table should be empty, otherwise
youdefeat the purpose of parttioning.`
yes of course the parent table is empty. The trigger on insert is
redirecting it to the proper child table.
select count(*) from only tstesting.account ;
count
-------
0
(1 row)
select count(*) from only tstesting.account_part1 ;
count
-------
83659
(1 row)
select count(*) from only tstesting.account_part5 ;
count
-------
83659
(1 row)