Skip to content

Commit

Permalink
Update ChangeLog and version to 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
darold committed Oct 8, 2018
1 parent 045fe11 commit eaf786a
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
26 changes: 26 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
October 08 2018 - v3.2

This minor release adds support to PostgreSQL v11.0 new keywords
and fixes several issues reported by users since last release.

* Add new PostgreSQL v11 keywords CALL, GROUPS, INCLUDE, OTHERS,
PROCEDURES, ROUTINE, ROUTINES, TIES.
* Add formatting of CREATE PUBLICATION.
* Add formatting of CREATE PROCEDURE code.
* Add formatting of ALTER PROCEDURE/ROUTINE, all on a single line.
* Add an indentation before VALUES of INSERT statements.

Here is the complete list of changes and acknowledgments:

- Fix weird formatting on UNIQUE and PRIMARY KEY constraints in
CREATE TABLE statements. Thanks to Aaron Reisman for the report.
- Add operator for name convention, ":=" was changed to "=>".
Thanks to snailshell-321 for the report.
- Fix missing formatting in SQL function with a single SELECT.
- Remove any new line in CALL statement.
- Never add newline after comma in ALTER statements.
- Prevent new line between ROW LEVEL SECURITY. Thanks to madflow
for the report.
- Update samples with last formatting changes.


September 12 2018 - v3.1

This minor release fixes several issues reported by users since six
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/Beautify.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ pgFormatter::Beautify - Library for pretty-printing SQL queries
=head1 VERSION
Version 3.1
Version 3.2
=cut

# Version of pgFormatter
our $VERSION = '3.1';
our $VERSION = '3.2';

# Inclusion of code from Perl package SQL::Beautify
# Copyright (C) 2009 by Jonas Kramer
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/CGI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ pgFormatter::CGI - Implementation of CGI-BIN script to format SQL queries.
=head1 VERSION
Version 3.1
Version 3.2
=cut

# Version of pgFormatter
our $VERSION = '3.1';
our $VERSION = '3.2';

use pgFormatter::Beautify;
use File::Basename;
Expand Down
4 changes: 2 additions & 2 deletions lib/pgFormatter/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ pgFormatter::CLI - Implementation of command line program to format SQL queries.
=head1 VERSION
Version 3.1
Version 3.2
=cut

# Version of pgFormatter
our $VERSION = '3.1';
our $VERSION = '3.2';

use autodie;
use pgFormatter::Beautify;
Expand Down
2 changes: 1 addition & 1 deletion pg_format
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ local $SIG{ __WARN__ } = sub {
use FindBin;
use lib "$FindBin::RealBin/lib";

our $VERSION = '3.1';
our $VERSION = '3.2';

# Find out whether current run should be treated as CGI or CLI
my $program;
Expand Down

0 comments on commit eaf786a

Please sign in to comment.