Обсуждение: Using the EXPLAIN results

Поиск
Список
Период
Сортировка

Using the EXPLAIN results

От
Braud Agnes
Дата:
Hi

I am using the libpq library, and I would like to get the plan
returned by the explain command for a given query to decide
if I execute the query or not. I want to get the time predicted
by the optimizer for the execution of the query.
Is it possible to get the plan as a string in a C or C++ program ?
Thanks.

Agnes.