Finding distribution keys of all tables in the greenplum database