diff options
author | Georg Brandl <georg@python.org> | 2011-09-22 13:26:26 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-09-22 13:26:26 +0200 |
commit | 1e35b63c41c0ef07e111f092acd74e3ee0a82f4c (patch) | |
tree | 902bd7c57cf163b4103e07aa0278cdb0eddfff65 /pygments/lexers/postgres.py | |
parent | dcd3c26c20a912e8665e4efed00b445fa83a08bd (diff) | |
parent | a65cd9dac7bc842d61d854c084a085a2e81428ac (diff) | |
download | pygments-1e35b63c41c0ef07e111f092acd74e3ee0a82f4c.tar.gz |
Merged in zzamboni/pygments-main (pull request #13)
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 f3f69c86..08bc92f9 100644 --- a/pygments/lexers/postgres.py +++ b/pygments/lexers/postgres.py @@ -234,7 +234,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.""" |