I did some clean-up on this patch. I have also refactored a small portion of the code
to reduce the footprint of the patch. For simplicity, I have divided the patch into 6
patches, now it is easy to review and debug.
001_temporal_table_grammer_v006.patch
002_temporal_table_doc_v006.patch
003_temporal_table_backend_v006.patch
004_temporal_table_pgdump_v006.patch
005_temporal_table_regression_v006.patch
006_temporal_table_psql_v006.patch
Please follow the PostgreSQL coding guidelines. I have found places where you missed that, secondly code even in WIP stage must not have WARNING because it looks ugly.