What's the distinction between errdetail and errdetail_log in the ereport interface?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных