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 4c5bd007..902edd5b 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -231,7 +231,7 @@ re_psql_command = re.compile(r'(\s*)(\\.+?)(\s+)$') re_error = re.compile(r'(ERROR|FATAL):') re_message = re.compile( r'((?:DEBUG|INFO|NOTICE|WARNING|ERROR|' - r'FATAL|HINT|DETAIL|LINE [0-9]+):)(.*?\n)') + r'FATAL|HINT|DETAIL|CONTEXT|LINE [0-9]+):)(.*?\n)') def lookahead(x): """Wrap an iterator and allow pushing back an item.""" |