Re: Prepared statements fail after schema changes with surprising error
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Prepared statements fail after schema changes with surprising error |
| Дата | |
| Msg-id | 20130122133251.GA7590@awork2.anarazel.de обсуждение |
| Ответ на | Re: Prepared statements fail after schema changes with surprising error (Dimitri Fontaine <dimitri@2ndQuadrant.fr>) |
| Ответы |
Re: Re: Prepared statements fail after schema changes with surprising error
|
| Список | pgsql-hackers |
On 2013-01-22 14:24:26 +0100, Dimitri Fontaine wrote: > > Tom Lane <tgl@sss.pgh.pa.us> writes: > >> DROP SCHEMA public; > >> CREATE SCHEMA public; > > > > changes the OID of schema public, whereas the search_path that's cached > > for the cached plan is cached in terms of OIDs. So while there is a > > table named public.z1 at the end of the sequence, it's not in any schema > > found in the cached search path. > > The DROP SCHEMA should invalidate the cached plan, certainly? Afaics the error happens during replanning of the invalidated plan. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера