Skip to content

[PostgreSQL] No longer require restart after creating the database#467

Merged
loic-sharma merged 1 commit intomasterfrom
db-postgresql-reloadtypes
Feb 9, 2020
Merged

[PostgreSQL] No longer require restart after creating the database#467
loic-sharma merged 1 commit intomasterfrom
db-postgresql-reloadtypes

Conversation

@loic-sharma
Copy link
Owner

Npgsql, the PostgreSQL driver, caches the database's type information on the initial connection. This causes issues when BaGet creates the database as it adds the citext extension to support case insensitive columns. BaGet will now forcefully reload the database's types after migrations are run.

See: #442
See: npgsql/efcore.pg#170 (comment)

@loic-sharma loic-sharma merged commit fbd5b06 into master Feb 9, 2020
@loic-sharma loic-sharma deleted the db-postgresql-reloadtypes branch February 9, 2020 23:35
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.

1 participant