| От | Tom Lane |
|---|---|
| Тема | Re: 'prepare' is not quite schema-safe |
| Дата | |
| Msg-id | 10682.1115009387@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: 'prepare' is not quite schema-safe (Neil Conway <neilc@samurai.com>) |
| Список | pgsql-general |
Neil Conway <neilc@samurai.com> writes:
> An alternative would be to flush dependent plans when the schema search
> path is changed.
I think this would actually be the Wrong Thing. It's certainly a
debatable point --- but the best analogy we have is the behavior of
plpgsql functions in the face of search-path changes, and I think that
most people who have thought about that carefully are in favor of
changing plpgsql functions to follow a search path frozen at function
creation time. The fact that we haven't gotten around to making that
happen isn't an argument for breaking PREPARE in the same way that
plpgsql is broken ;-)
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера