Dead code as a result of plan cache invalidation?

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Dead code as a result of plan cache invalidation?
Дата
Msg-id 87odiscswm.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответы Re: Dead code as a result of plan cache invalidation?
Список pgsql-hackers
Should this case at heaptuple.c:1606 be turned into an elog() now that we have
plan cache invalidation? If it "can't" happen then it's probably better that
we find out if it does happen rather than silently run the old plan and return
nulls.
/* * If the attribute's column has been dropped, we force a NULL result. * This case should not happen in normal use,
butit could happen if we * are executing a plan cached before the column was dropped. */if (tupleDesc->attrs[attnum -
1]->attisdropped){   *isnull = true;    return (Datum) 0;}
 


--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: ACM Paper relevant to our buffer algorithm
Следующее
От: Gregory Stark
Дата:
Сообщение: PQescapeBytea* version for parameters