Skip to content

Commit 688d568

Browse files
committed
Document EFCore.PG targeting PostgreSQL version 16 by default
See npgsql/efcore.pg#3798
1 parent 9b88ca0 commit 688d568

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • conceptual/EFCore.PG/release-notes

conceptual/EFCore.PG/release-notes/11.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,12 @@ For more details, see the [temporal constraints documentation](../misc/temporal-
9090
## Other new features
9191

9292
* Added `EF.Functions.IntersectsBbox(geom1, geom2)` for expressing [the PostGIS `&&` operator](https://postgis.net/docs/geometry_overlaps.html). Thanks to [@bjornharrtell](https://github.com/bjornharrtell) for this contribution!
93+
94+
## Breaking changes
95+
96+
* EF now targets PostgreSQL 16 by default, taking advantage of newer features (previously, PostgreSQL 14 was targeted). You can set the targeted PostgreSQL version when configuring your context:
97+
98+
```c#
99+
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
100+
=> optionsBuilder.UseNpgsql("<CONNECTION STRING>",s => s.SetPostgresVersion(14, 0));
101+
```

0 commit comments

Comments
 (0)