I have alot data that I have to isert them to db,... Now I decide to use of partitioning http://www.postgresql.org/docs/8.1/interactive/ddl-partitioning.html but problem here is how I can do something that when I insert data, the master table remains empty and just data inserted into inherited tables.