agora inbox for pgsql-hackers@postgresql.org
help / color / mirror / Atom feedFrom: legrand legrand <legrand_legrand@hotmail.com>
To: pgsql-hackers@postgresql.org
Subject: RE: Planning counters in pg_stat_statements (using pgss_store)
Date: Sat, 14 Mar 2020 03:39:23 -0700 (MST)
Message-ID: <1584182363683-0.post@n3.nabble.com> (raw)
In-Reply-To: <1584180240397-0.post@n3.nabble.com>
References: <1583439979339-0.post@n3.nabble.com>
<20200309103142.GA45401@nol>
<OSBPR01MB461601EA9F13C089C3157E6894FD0@OSBPR01MB4616.jpnprd01.prod.outlook.com>
<20200312063109.bzw4fbk64gpcbhhh@nol>
<OSBPR01MB461661BDBBF8C5CB477AE47494FD0@OSBPR01MB4616.jpnprd01.prod.outlook.com>
<CAOBaU_Y1M7TFHDWV1wkQpES3qsK-BatsizPjxur1BMBoVE095Q@mail.gmail.com>
<CAFMSG9HJQr=H8doWJOp=wqyKbVqxMLkk_Qu2KfpmkKvS-Xn7qQ@mail.gmail.com>
<CAOBaU_YekXNsQ819w=eBTM_aQ+BYPcVWLX0sDO-5xRNhqipbRA@mail.gmail.com>
<OSAPR01MB46099E7D03547A2A7292716494FA0@OSAPR01MB4609.jpnprd01.prod.outlook.com>
<1584180240397-0.post@n3.nabble.com>
> 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
view thread (127+ messages) latest in thread
Message-ID: <1584182363683-0.post@n3.nabble.com>
Permalink: ../1584182363683-0.post@n3.nabble.com/
Also on: postgresql.org/message-id/1584182363683-0.post@n3.nabble.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: legrand_legrand@hotmail.com
Subject: RE: Planning counters in pg_stat_statements (using pgss_store)
In-Reply-To: <1584182363683-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox