Skip to content

Display SQL commands in debug mode #150

@renmarq

Description

@renmarq

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions