VERBOSE WHEN WHERE WINDOW WITH
);
+my @beautify_pg_keywords = qw(
+ ANALYSE ANALYZE CONCURRENTLY FREEZE ILIKE ISNULL LIKE NOTNULL PLACING RETURNING VARIADIC
+);
+
# Highlight variables
my @KEYWORDS1 = qw(
} else {
# Create instance to prettify SQL query
if (!$noprettify) {
- $sql_prettified = SQL::Beautify->new(keywords => \@pg_keywords);
+ $sql_prettified = SQL::Beautify->new(keywords => \@beautify_pg_keywords);
}
&dump_as_html();
}
}
# Create instance to prettify SQL query
if (!$noprettify) {
- $sql_prettified = SQL::Beautify->new(keywords => \@pg_keywords);
+ $sql_prettified = SQL::Beautify->new(keywords => \@beautify_pg_keywords);
}
&dump_as_html();
$fh->close;
}
# Create instance to prettify SQL query
if (!$noprettify) {
- $sql_prettified = SQL::Beautify->new(keywords => \@pg_keywords);
+ $sql_prettified = SQL::Beautify->new(keywords => \@beautify_pg_keywords);
}
&dump_as_html();
$fh->close;
TRANSLATION TREAT TRIGGER TRIM TRUE UNDER UNDO UNION UNIQUE UNKNOWN UNNEST
UNTIL UPDATE UPPER USAGE USER USING VALUE VALUES VARCHAR VARYING VIEW WHEN
WHENEVER WHERE WHILE WINDOW WITH WITHIN WITHOUT WORK WRITE YEAR ZONE
- );
+ );
+
sub tokenize_sql
{
$self->{rules} = {} unless defined($self->{rules});
$self->{uc_keywords} = 0 unless defined $self->{uc_keywords};
- push @{$self->{keywords}}, KEYWORDS;
+ push(@{$self->{keywords}}, KEYWORDS);
# Initialize internal stuff.
$self->{_level} = 0;