Skip to content

pgbk: remove CREATE PUBLICATION#32464

Merged
espadolini merged 1 commit intomasterfrom
espadolini/pgbk-remove-create-publication
Sep 25, 2023
Merged

pgbk: remove CREATE PUBLICATION#32464
espadolini merged 1 commit intomasterfrom
espadolini/pgbk-remove-create-publication

Conversation

@espadolini
Copy link
Copy Markdown
Contributor

Doing CREATE PUBLICATION actually requires create permissions over the database rather than just the schema that contains the kv table, so it's technically a breaking change if the database user only has privileges over a schema (see #32197, which was prompted by a customer that restricts the database user to a specific schema).

It's harmless to remove the line, as the kv_pub publication is not currently used anywhere and it was only added to more easily support the use of pgoutput in the future. A note was left in its stead, so we don't accidentally try to blindly create the publication again.

@espadolini espadolini force-pushed the espadolini/pgbk-remove-create-publication branch from 67c3597 to 1abbd7a Compare September 25, 2023 09:59
@espadolini espadolini added this pull request to the merge queue Sep 25, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 25, 2023
@espadolini espadolini added this pull request to the merge queue Sep 25, 2023
Merged via the queue into master with commit 650e31a Sep 25, 2023
@espadolini espadolini deleted the espadolini/pgbk-remove-create-publication branch September 25, 2023 12:35
@public-teleport-github-review-bot
Copy link
Copy Markdown

@espadolini See the table below for backport results.

Branch Result
branch/v14 Create PR

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants