Well, I have a problem with the following: I want to do a table partitioning in postgres because a table has zillions of records and it takes a long time to fetch it (this table tends to grow considerably in the coming months) and a solution that I I found it was partitioning tables (if someone has another solution) using trigger only so far, but at the time I insert a data in my table he calls the kitten, I can get this information only that all the data comes as whole. Some fields I can convert to text, but others like the date it does not convert either to date or to string, the question is how do I leave it with its default data types? If you do not have how do I leave this date field with date type.