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 ab797f2b..79cfe3e1 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -77,7 +77,7 @@ class PostgresLexer(RegexLexer): re_prompt = re.compile(r'^([a-zA-Z_][a-zA-Z0-9_]+)?[=\-\(][#>]') re_psql_command = re.compile(r'(\s*)(\\.+?)(\s+)$') re_error = re.compile(r'ERROR:') -re_message = re.compile(r'((?:DEBUG|INFO|WARNING|ERROR|HINT|LINE [0-9]+):)(.*?\n)') +re_message = re.compile(r'((?:DEBUG|INFO|NOTICE|WARNING|ERROR|HINT|LINE [0-9]+):)(.*?\n)') re_charhint = re.compile(r'\s*\^\s*\n') class PostgresConsoleLexer(Lexer): |