| От | Tom Lane |
|---|---|
| Тема | Re: Questionable coding in proc.c & lock.c |
| Дата | |
| Msg-id | 195.964799982@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Questionable coding in proc.c & lock.c (Thomas Lockhart <lockhart@alumni.caltech.edu>) |
| Список | pgsql-hackers |
Thomas Lockhart <lockhart@alumni.caltech.edu> writes:
> btw, even gram.y does touch some of the heap cache (for pg_type) to look
> for type existance; don't know if that will be a problem but maybe that
> needs to be rethought also...
We'd need to postpone that processing till parse analysis, else we still
have the underlying problem. Fortunately we are not parsing C ;-) so
it seems to me it shouldn't be necessary to do any table lookups during
initial parsing...
I assume you are looking at the 'setof' processing? Offhand it seems to
me that this code is broken anyway: use of a relation type should refer
to the tuple type, but should *not* imply SETOF, at least IMHO.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера