I merge the 2 commits into 1 and also corrected a problem with SQL display of partitions in GP.
So this new patch Displays the partitions on GreenPlum database, correct SQL that was being used in the SQL tab for Schemas and display the correct SQL for Partitioned tables in GreenPlum.