Hi,
PFA patch, readme for automating partitions in PostgreSQL 8.4 Beta 2 and testcases.
The patch automates table partitioning to support Range and Hash partitions. Please refer to attached readme file for further details.
The syntax used conforms to most of the suggestions mentioned in
http://archives.postgresql.org/pgsql-hackers/2008-01/msg00413.php, barring the following:
-- Specification of partition names is optional. System will be able to generate partition names in such cases.
-- Sub partitioning
Regards,
--
Kedar.