Skip to content

[Feature]: add target.allSequences to Publication CRD (pg19) #11372

Description

@gbartolini

Is there an existing issue already for this feature request/idea?

  • I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

PostgreSQL 19 introduced support for sequence synchronization in logical replication, including the syntax CREATE PUBLICATION ... FOR ALL SEQUENCES. We should extend the Publication CRD to support spec.target.allSequences declaratively for PostgreSQL 19 and later.

Describe the solution you'd like

Add allSequences as a boolean field under spec.target in the Publication custom resource:

apiVersion: postgresql.cnpg.io/v1
kind: Publication
metadata:
  name: app-publisher
spec:
  cluster:
    name: postgres-19-cluster
  dbname: app
  name: publisher
  target:
    allTables: true
    allSequences: true

allSequences should not be allowed in Postgres 18 or older.

Describe alternatives you've considered

N/A

Additional context

No response

Backport?

No

Are you willing to actively contribute to this feature?

Yes

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the Now milestone on Aug 26, 2026
  2. self-assigned this
    on Aug 26, 2026
  3. added
    enhancement 🪄
    on Aug 26, 2026
  4. github-actions commented on Nov 20, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Staleenhancement 🪄

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions