Add set_constraints
helper for PostgreSQL
#49187
Merged
set_constraints
helper for PostgreSQL
#49187