| От | Greg Stark |
|---|---|
| Тема | Re: REFERENCES error message complaint, suggestion |
| Дата | |
| Msg-id | 87u1148cgs.fsf@stark.xeocode.com обсуждение |
| Ответ на | Re: REFERENCES error message complaint, suggestion (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: REFERENCES error message complaint, suggestion
ERROR: function round(double precision, integer) does not exist - WTF? |
| Список | pgsql-general |
Tom Lane <tgl@sss.pgh.pa.us> writes: > I think this is sufficient though, and that database designers ought to > choose helpful names for constraints. I should have said something like > ... constraint "f1 must be positive" check (f1 > 0) > if I were concerned about the error message quality. Consider the case of a query like "INSERT INTO foo (SELECT ... FROM baz)" or "UPDATE foo set x = func(y,z)" It's great to know which constraint was violated but that doesn't really help you figure out *why* it was violated. -- greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера