postgres enable foreign keys code example Example: postgres enable foreign keys SET session_replication_role = DEFAULT;