refactored truncate table code based on Hadi's comments
refactored truncate table code based on Hadi's comments

olivermel/cstore_fdw,olivermel/cstore_fdw,citusdata/cstore_fdw,citusdata/cstore_fdw,olivermel/cstore_fdw