Skip to content

Commit

Permalink
pgbk: remove CREATE PUBLICATION (#32474)
Browse files Browse the repository at this point in the history
  • Loading branch information
espadolini committed Sep 25, 2023
1 parent 5b3b6ec commit 55a4cb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/backend/pgbk/pgbk.go
Expand Up @@ -250,8 +250,10 @@ var schemas = []string{
CONSTRAINT kv_pkey PRIMARY KEY (key)
);
CREATE INDEX kv_expires_idx ON kv (expires) WHERE expires IS NOT NULL;`,
`ALTER TABLE kv REPLICA IDENTITY FULL;
CREATE PUBLICATION kv_pub FOR TABLE kv;`,

// v14.0.0 also had `CREATE PUBLICATION kv_pub FOR TABLE kv` in schema
// version 2
"ALTER TABLE kv REPLICA IDENTITY FULL;",
}

var _ backend.Backend = (*Backend)(nil)
Expand Down

0 comments on commit 55a4cb2

Please sign in to comment.