Filter out extension-related operations in creation scripts of history table by dkottis · Pull Request #3713 · npgsql/efcore.pg
Some Managed PostgreSQL services (e.g., Azure Flexible Server) do not grant users permission to create extensions, just superusers. Previously, when extensions like NetTopologySuite were configured, efcore.pg would include CREATE EXTENSION IF NOT EXISTS postgis; in every GetCreateScript() initialization script on startup, which then would break the application because of this permission error.
This PR adds a workaround to filter out extension-related operations from the creation scripts of the history table.
Fixes #3496