Skip to content

Commit

Permalink
fix \d+ partition_table
Browse files Browse the repository at this point in the history
  • Loading branch information
gfphoenix78 committed Nov 1, 2024
1 parent ffb4fcc commit 08bc07c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/bin/psql/describe.c
Original file line number Diff line number Diff line change
Expand Up @@ -2287,8 +2287,10 @@ describeOneTableDetails(const char *schemaname,
goto error_return; /* not an error, just return early */
}

if (greenplum_is_ao_column(tableinfo.relstorage, tableinfo.relam)
|| greenplum_is_ao_row(tableinfo.relstorage, tableinfo.relam))
/* if AO reloptions are specified for table, replace the default reloptions */
if (tableinfo.relkind != RELKIND_PARTITIONED_TABLE &&
(greenplum_is_ao_column(tableinfo.relstorage, tableinfo.relam)
|| greenplum_is_ao_row(tableinfo.relstorage, tableinfo.relam)))
{
PGresult *result = NULL;
/* Get Append Only information
Expand Down

0 comments on commit 08bc07c

Please sign in to comment.