Finding partition keys in Greenplum