On Thu, May 28, 2015 at 12:42 PM, Melvin Davidson <[email protected]> wrote:
>
> Generally, when you partition, data should only be in child tables, and the
> parent table should be empty, otherwise you defeat 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)
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general