| От | Richard Huxton |
|---|---|
| Тема | Re: Further thoughts about warning for costly FK checks |
| Дата | |
| Msg-id | 200403141130.27487.dev@archonet.com обсуждение исходный текст |
| Ответ на | Re: Further thoughts about warning for costly FK checks (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Sunday 14 March 2004 00:16, Tom Lane wrote: > > Call me crazy, but maybe we have to throw a message for primary > > key lookups on foreign key tables without indexes. I hate to throw a > > message on update/delete rather than create table, but I don't see > > another way. > > I don't think that will fly. It's too noisy/repetitive, and it's > complaining at the wrong time (in production rather than when you're > setting up the DB schema). Imagine how annoying it would be to get > such warnings if you were a user without the privileges needed to create > the requested index. 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. -- Richard Huxton Archonet Ltd
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера