| От | Tom Lane |
|---|---|
| Тема | pgsql/src/backend/optimizer/plan (setrefs.c) |
| Дата | |
| Msg-id | 200006042050.QAA64450@hub.org обсуждение |
| Список | pgsql-committers |
Date: Sunday, June 4, 2000 @ 16:50:50
Author: tgl
Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/plan
from hub.org:/home/projects/pgsql/tmp/cvs-serv64386
Modified Files:
setrefs.c
----------------------------- Log Message -----------------------------
Repair bug reported by ldm@apartia.com: Append nodes, which don't
actually use their targetlist, are given a targetlist that is just a
pointer to the first appended plan's targetlist. This is OK, but what
is not OK is that any sub-select expressions in said tlist were being
entered in the subPlan lists of both the Append and the first appended
plan. That led to two startup and two shutdown calls for the same
plan node at exec time, which led to crashes. Fix is to not generate
a list of subPlans for an Append node. Same problem and fix apply
to other node types that don't have a real, functioning targetlist:
Material, Sort, Unique, Hash.
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера