Version
main
Describe the bug.
Migration 20220524042504_bg.sql uses unqualified calls to uuid_nil() in functions which are then used in CREATE INDEX statements.
PG 17 changes functions to use a safe search_path during maintenance operations making the unqualified calls invalid.
Minimum reproducible example
Create a PG17+ database and attempt to run the migrations against it.
Migration 20211119192131_initial.sql will succeed, but the next migration 20220524042504_bg.sql will fail.
Relevant log output
Other/Misc.
Calls should be qualified with public or the explicit nil UUID '00000000-0000-0000-0000-000000000000'::uuid can be used.
Code of Conduct
Version
main
Describe the bug.
Migration 20220524042504_bg.sql uses unqualified calls to uuid_nil() in functions which are then used in
CREATE INDEXstatements.PG 17 changes functions to use a safe search_path during maintenance operations making the unqualified calls invalid.
Minimum reproducible example
Relevant log output
Other/Misc.
Calls should be qualified with
publicor the explicit nil UUID'00000000-0000-0000-0000-000000000000'::uuidcan be used.Code of Conduct