Obsolete comment within execTuples.c

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Obsolete comment within execTuples.c
Дата
Msg-id CAM3SWZSvVzYLVDYZeRdafc8EaZxqe7E1s4D3LjAu2aq6qJ1mjQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Obsolete comment within execTuples.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Header comments within execTuples.c state:
* - ExecutePlan() calls ExecSelect(), which passes the result slot*  to printtup(), which uses slot_getallattrs() to
extractthe*  individual Datums for printing.
 

This isn't true, though - the function ExecSelect() no longer exists.
This is because commit 8a5849b7ff24c637a1140c26fc171e45c9142005
removed it, as infrastructure for data-modifying CTEs. In fact,
ExecutePlan now directly and indifferently calls the receiveSlot.
tcop/dest stuff takes care of calling printtup(), which I guess is
what was originally intended by this comment (by which I mean, that
part probably isn't obsolete).

-- 
Peter Geoghegan



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pgbench throttling latency limit
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Obsolete comment within execTuples.c