Re: Planner debug views
| От | Qingqing Zhou |
|---|---|
| Тема | Re: Planner debug views |
| Дата | |
| Msg-id | CAJjS0u3VEUawDDGJu0ykfdF7K-PPvsWVwxEBQ7tm7vno35va2A@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Planner debug views (Alvaro Herrera <alvherre@2ndquadrant.com>) |
| Ответы |
Re: Planner debug views
|
| Список | pgsql-hackers |
On Tue, Jul 28, 2015 at 12:08 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > I would have a tuplestore, and the planner code would push tuples to it. > After the planning is done, EXPLAIN can read and return tuples from the > store to the user. > Not sure if I got it: so EXPLAIN will return tuples to libpq client. But how do we store these returned tuples (RelOptInfo, Path etc) so we can throw queries against them later? Something like this: INSERT INTO my_space SELECT (EXPLAIN SELECT ...); -- won't get parsed Regards, Qingqing
В списке pgsql-hackers по дате отправления: