Commit 63df39b
Handle \restrict/\unrestrict in PostgreSQL 17.6 pg_dump output (#716)
Same as #704
PostgreSQL 17.6 added \restrict and \unrestrict commands to pg_dump
output as a security measure for CVE-2025-8714. This breaks tests that
expect exact string matching between the "PostgreSQL database dump
complete" comment and the "Dbmate schema migrations" section.
Split the assertion into two separate require.Contains calls to allow
any content between these sections.
See https://www.postgresql.org/docs/17/release-17-6.html and
https://www.postgresql.org/support/security/CVE-2025-8714/
Co-authored-by: Cursor Agent <[email protected]>1 parent 28f7fbf commit 63df39b
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
| 231 | + | |
| 232 | + | |
234 | 233 | | |
235 | 234 | | |
236 | 235 | | |
| |||
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
269 | | - | |
270 | | - | |
271 | | - | |
| 268 | + | |
| 269 | + | |
272 | 270 | | |
273 | 271 | | |
274 | 272 | | |
| |||
0 commit comments