pgschema
pgschema copied to clipboard
Display SQL commands in debug mode
When running pgschema in debug mode, it would be good to have the list of SQL commands executed as I'm currently running into the following error which is really hard to resolve without context:
time=2025-11-07T11:11:55.340+01:00 level=DEBUG msg="Database connection established successfully"
Error: failed to apply desired state: failed to apply schema SQL to temporary schema pgschema_tmp_20251107_111137_bc1a618a: ERROR: syntax error at or near "\" (SQLSTATE 42601)
Thanks.