Fixing cargo test failures due to backported pg_dump security issue. (#5932)

* Trying to fix cargo test ci 1.

* 2

* 3

* 3

* Print output

* Try empty restrict key

* Try empty

* Updating from main.
This commit is contained in:
Dessalines 2025-08-19 01:35:12 +08:00 committed by GitHub
parent b2eb9759a6
commit 66a8095d4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,6 +36,10 @@ pub(crate) fn get_dump() -> String {
"--no-table-access-method", "--no-table-access-method",
"--no-tablespaces", "--no-tablespaces",
"--no-large-objects", "--no-large-objects",
// Use a fake restrict key, rather than an auto-generated one.
// See https://github.com/sqlc-dev/sqlc/issues/4065
"--restrict-key",
"empty",
]) ])
.stderr(Stdio::inherit()) .stderr(Stdio::inherit())
.output() .output()