RE: Planning counters in pg_stat_statements (using pgss_store)

Поиск
Список
Период
Сортировка
От legrand legrand
Тема RE: Planning counters in pg_stat_statements (using pgss_store)
Дата
Msg-id 1584182363683-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на RE: Planning counters in pg_stat_statements (using pgss_store)  (legrand legrand <legrand_legrand@hotmail.com>)
Список pgsql-hackers
> I don't know it is useful but there are also codes that avoid an error when
> sourceText is NULL.

> executor_errposition(EState *estate, int location)
> {
>     ...
>    /* Can't do anything if source text is not available */
>    if (estate == NULL || estate->es_sourceText == NULL)
> }


or maybe would you prefer to replace the Non-Zero queryid test 
by Non-NULL sourcetext one ?



--
Sent from: https://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html



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

Предыдущее
От: legrand legrand
Дата:
Сообщение: RE: Planning counters in pg_stat_statements (using pgss_store)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: make check crashes on POWER8 machine