{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/25","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/25/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/25/events","html_url":"https://github.com/greenplum-db/gpdb/pull/25","id":114168856,"number":25,"title":"Add 'Partition by' description in psql","user":{"login":"hsyuan","id":15352793,"avatar_url":"https://avatars.githubusercontent.com/u/15352793?v=3","gravatar_id":"","url":"https://api.github.com/users/hsyuan","html_url":"https://github.com/hsyuan","followers_url":"https://api.github.com/users/hsyuan/followers","following_url":"https://api.github.com/users/hsyuan/following{/other_user}","gists_url":"https://api.github.com/users/hsyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/hsyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsyuan/subscriptions","organizations_url":"https://api.github.com/users/hsyuan/orgs","repos_url":"https://api.github.com/users/hsyuan/repos","events_url":"https://api.github.com/users/hsyuan/events{/privacy}","received_events_url":"https://api.github.com/users/hsyuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-29T23:33:13Z","updated_at":"2015-11-03T19:24:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/25","html_url":"https://github.com/greenplum-db/gpdb/pull/25","diff_url":"https://github.com/greenplum-db/gpdb/pull/25.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/25.patch"},"body":"When user runs \\d or \\d+ on a partition table, it will display partition\r\nkeys on the current level for the partition table with the clause of\r\n'Partition by: (partition_key_1, ..., partition_key_n)' after\r\n'Distributed by' clause. But if user runs \\d or \\d+ on a non-partition \r\ntable or leaf level partition table, the 'Partition by' clause will not be \r\ndisplayed.\r\n\r\nHaisheng Yuan"},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/153461377","html_url":"https://github.com/greenplum-db/gpdb/pull/25#issuecomment-153461377","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/25","id":153461377,"user":{"login":"hsyuan","id":15352793,"avatar_url":"https://avatars.githubusercontent.com/u/15352793?v=3","gravatar_id":"","url":"https://api.github.com/users/hsyuan","html_url":"https://github.com/hsyuan","followers_url":"https://api.github.com/users/hsyuan/followers","following_url":"https://api.github.com/users/hsyuan/following{/other_user}","gists_url":"https://api.github.com/users/hsyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/hsyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsyuan/subscriptions","organizations_url":"https://api.github.com/users/hsyuan/orgs","repos_url":"https://api.github.com/users/hsyuan/repos","events_url":"https://api.github.com/users/hsyuan/events{/privacy}","received_events_url":"https://api.github.com/users/hsyuan/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T19:24:44Z","updated_at":"2015-11-03T19:24:44Z","body":"@hlinnaka I have modified the code to append the string directly to inoutbuf."}}