mirror of
https://github.com/dimitri/pgloader.git
synced 2026-02-06 06:51:23 +01:00
When adding the CONTEXT message parsing I totally forgot that PostgreSQL provides a nice error message translation capability. The code now copes better with the situation, using a more advanced regular expression. We could inline the known translations in the matching, but that would be tedious to maintain, so we just use loose matching rules here.