RI violation msg suggestion

Поиск
Список
Период
Сортировка
От Ed Loehr
Тема RI violation msg suggestion
Дата
Msg-id 3A2D4EF8.437FE7F4@austin.rr.com
обсуждение исходный текст
Список pgsql-hackers
Minor usability/debuggability suggestion...

RI violation error messages in 7.0.0 do not appear to identify the
offending value.

Example:

ERROR:  fk_employee_currency referential integrity violation - key
referenced from employee not found in currency

Easier to debug would be:

ERROR:  fk_employee_currency referential integrity violation - key '27'
referenced from employee not found in currency

Regards,
Ed Loehr


В списке pgsql-hackers по дате отправления: