| От | Tom Lane |
|---|---|
| Тема | Re: Further thoughts about warning for costly FK checks |
| Дата | |
| Msg-id | 22751.1079361577@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Further thoughts about warning for costly FK checks (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: Further thoughts about warning for costly FK checks
|
| Список | pgsql-hackers |
Fabien COELHO <fabien.coelho@ensmp.fr> writes:
>> Maybe there should be a separate "pg_advisor" tool that you can run against a
>> database and which looks for "oddities". Something pluggable so people can
>> add tests simply.
> Or maybe some new "ADVICE" or "ODDITY" level next to "DEBUG NOTICE WARNING
> ERROR PANIC...", that would be hidden by default and triggered by an
> option?
But that doesn't really solve the problem, which is that there are
conditions that it's difficult to test for on-the-fly while a schema
is being constructed. A pg_advisor tool would look at the completed
schema and would not have that problem.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера