-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option -g, --no-grouping and CGI corresponding checkbox. By default
pgFormatter groups all statements when they are in a transaction: BEGIN; INSERT INTO foo VALUES (1, 'text 1'); INSERT INTO foo VALUES (2, 'text 2'); ... COMMIT; By disabling grouping of statement pgFormatter will always add an extra newline characters between statements just like outside a transaction: BEGIN; INSERT INTO foo VALUES (1, 'text 1'); INSERT INTO foo VALUES (2, 'text 2'); ... COMMIT; This might add readability to not DML transactions. Thanks to Francisco Puga for the feature request.
- Loading branch information
Showing
5 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters