diff options
Diffstat (limited to 'pygments/lexers/postgres.py')
-rw-r--r-- | pygments/lexers/postgres.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/postgres.py b/pygments/lexers/postgres.py index 1bb38556..583e118d 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -25,7 +25,7 @@ __all__ = [ 'PostgresLexer', 'PostgresConsoleLexer' ] line_re = re.compile('.*?\n') -language_re = re.compile(r'\s+LANGUAGE\s+(\w+)') +language_re = re.compile(r"\s+LANGUAGE\s+'?(\w+)'?") class PostgresLexer(RegexLexer): """ |