Re: [HACKERS] RTE_NAMEDTUPLESTORE, enrtuples and comments

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [HACKERS] RTE_NAMEDTUPLESTORE, enrtuples and comments
Дата
Msg-id CA+TgmoY6Z9w5ukzA-RCTe6gMen0W6S1JPzKQ61mMfhg7ZeAqMw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] RTE_NAMEDTUPLESTORE, enrtuples and comments  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] RTE_NAMEDTUPLESTORE, enrtuples and comments  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Jun 13, 2017 at 10:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Perhaps this is a silly question, but I don't particularly see what's
>> wrong with:
>
>> 3. Do nothing.
>
> Well, the fundamental problem is that the RTE is a lousy place to keep
> rowcount estimates.  That breaks assorted desirable properties like
> querytrees being readonly to planning/execution (not that we don't
> end up copying them anyway, but up to now that's been because of bad
> implementation not because the representation was broken by design).

How does it break those properties?  I don't think enrtuples is being
modified by planning or execution as things stand.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] outfuncs.c utility statement support
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] WIP: Data at rest encryption