summaryrefslogtreecommitdiff
path: root/pygments/lexers/postgres.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-09-01 15:19:10 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-09-01 15:19:10 +0100
commit3271b375f38b1baeda54eb4809ec9404c34b01d4 (patch)
treecb07bc42583a3dcfdd0bf224150375a3ae522728 /pygments/lexers/postgres.py
parent8e50a30370b1ad58d8ec308d5ee7d4e7d153bc4a (diff)
downloadpygments-3271b375f38b1baeda54eb4809ec9404c34b01d4.tar.gz
Parse CONTEXT in Postgres output
Diffstat (limited to 'pygments/lexers/postgres.py')
-rw-r--r--pygments/lexers/postgres.py2
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."""