Fix setting of PostgreSQL GUCs and transaction usage for DDL.