fix: regression that truncates error message when offset is out of bounds

- Happens when offset > the number of rows and when "Prefer: count=exact" header is sent
- Regression introduced in commit 57ef998
This commit is contained in:
Laurence Isla
2025-12-12 14:47:26 -05:00
committed by Steve Chavez
parent d4b8109522
commit 7be638f0f2
3 changed files with 10 additions and 4 deletions
+3
View File
@@ -10,6 +10,9 @@ All notable changes to this project will be documented in this file. From versio
## [14.1] - 2025-11-05
- Fix regression where the `PGRST103` error response was truncated by @laurenceisla in #4455
+ Happened when an `offset` was greater than the rows requested and `Prefer: count=exact` was sent.
## Fixed
- Fix `db-pre-config` function failing when function names are pg reserved words by @taimoorzaeem in #4380