Skip to content

Feature request: replication slot for all tables in schema #553

@TPXP

Description

@TPXP

Hello, and thanks for this great terraform provider ❤

Since PostgreSQL v15, PostgreSQL supports creating a replication slot for all tables in a given schema. https://www.postgresql.org/docs/15/sql-createpublication.html

Yet the postgresql_publication resource does not have a "in schema" argument, and the provider code does not seem to be able to generate ALL TABLES IN SCHEMA statements:

func getTablesForPublication(d *schema.ResourceData) (string, error) {

https://registry.terraform.io/providers/cyrilgdn/postgresql/latest/docs/resources/postgresql_publication

Could you add this option? 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions