LPS-46776 - Edit PostgreSQL scripts