Skip to content

Inherit template toast table's properties while creating partition. #812

@chopraanmol1

Description

@chopraanmol1

As listed in https://www.postgresql.org/docs/current/sql-createtable.html#SQL-CREATETABLE-STORAGE-PARAMETERS, In postgres we can set toast related storage parameter while creating or altering table. But when doing the same for template table the toast specific properties are not inherited when new paritition is being created.

This is happening because we are only copying reloptions from template table pg_class entry, whereas toast specific storage parameter are stored in reloptions for the pg_toast table of the respective template table.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions