diff options
author | Pavan Deolasee | 2017-06-15 12:27:54 +0000 |
---|---|---|
committer | Pavan Deolasee | 2017-06-15 12:27:54 +0000 |
commit | a9219636e83d8bfdfe38037151b2a81df8fffaf0 (patch) | |
tree | 32cd512491be4c21ff6af6250c50c48d1203561a | |
parent | dc11a82c58da80f76feeaaf6cc31b196ba4ace4f (diff) |
Show distribution information for partitioned tables too.
While using \d and associated commands in psql, we now check for partitioned
tables and fetch their distribution information too, just as regular tables.
-rw-r--r-- | src/bin/psql/describe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 69fc7e6ba0..6ada5ea4f4 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -2945,7 +2945,7 @@ describeOneTableDetails(const char *schemaname, true); #ifdef PGXC /* print distribution information */ - if (verbose && tableinfo.relkind == 'r') + if (verbose && (tableinfo.relkind == 'r' || tableinfo.relkind == 'p')) { printfPQExpBuffer(&buf, "SELECT CASE pclocatortype \n" |