Skip to content

Mark distance_type_* as CREATE OR REPLACE#169

Merged
tjgreen42 merged 1 commit intomainfrom
sv/create-or-replace
Nov 20, 2024
Merged

Mark distance_type_* as CREATE OR REPLACE#169
tjgreen42 merged 1 commit intomainfrom
sv/create-or-replace

Conversation

@syvb
Copy link
Copy Markdown
Contributor

@syvb syvb commented Nov 19, 2024

distance_type_* needs to be marked as create_or_replace so that the pgrx schema generator generates update scripts with CREATE OR REPLACE. Without OR REPLACE upgrading fails.

@syvb syvb requested a review from a team as a code owner November 19, 2024 23:30
Copy link
Copy Markdown
Contributor

@tjgreen42 tjgreen42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I was wondering how pgrx would let you do this.

@tjgreen42 tjgreen42 merged commit 5ee9451 into main Nov 20, 2024
@tjgreen42 tjgreen42 deleted the sv/create-or-replace branch November 20, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants