pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Lukas Fittl <lukas@fittl.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Haibo Yan <tristan.yim@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: David Geier <geidav.pg@gmail.com>
Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Date: Sun, 12 Apr 2026 16:24:42 -0400
Message-ID: <578511.1776025482@sss.pgh.pa.us> (raw)
In-Reply-To: <CAP53Pkx95w0brt7djsjeVN84HpwRhcwDyjFVh=A0b7zCtqPA7g@mail.gmail.com>
References: <jr4hk2sxhqcfpb67ftz5g4vw33nm67cgf7go3wwmqsafu5aclq@5m67ukuhyszz>
	<CAP53PkyMmUO=QbZPSc+uqSi+2pVjuEZc4MA45nKtLiZtNYf5NQ@mail.gmail.com>
	<26pttea74dz5gvsplaa4qsrwuytrza6g2mieqb7wxi4nnwb3cp@7uhq7zkfm6me>
	<CAP53PkwXBHQhpcW9k8PnUN+NZjVbmWwx7unehHxANBjD95a7Ow@mail.gmail.com>
	<npplam5gf5c6yrsaqjfdkdhz57czqrmbqlo2d7yud7uj76iozz@vuxdfa5hujzv>
	<CAP53PkwR8gEteMDTK0=hGx5YmLMUhW3aFXAergr_VWgmBFFBig@mail.gmail.com>
	<CAP53Pkx9aQ2oW1CCMQ6otNOAQEUKmUdmuJqpit9UQ_wTv99hCg@mail.gmail.com>
	<CABXr29HCf5RPr=4DOE42gRz_7EqPujBbvKHzzRLCjL6ghV_D=w@mail.gmail.com>
	<343362.1776018031@sss.pgh.pa.us>
	<adthql7euvlmwfe7iaj3t3zl3jyo3oubr32qjfdtgux65qoape@u3wuhp73a77r>
	<CAP53Pkx95w0brt7djsjeVN84HpwRhcwDyjFVh=A0b7zCtqPA7g@mail.gmail.com>

Lukas Fittl <lukas@fittl.com> writes:
> I think either is fine. If we did it with a message, how about this at
> the beginning of the output function?

> if (loop_count == 0)
> {
>   printf(_("WARNING: No timing measurements collected. Report this as a bug to <%s>.\n"), PACKAGE_BUGREPORT);
>   return;
> }

WFM.

			regards, tom lane





view thread (172+ messages)  latest in thread

Message-ID: <578511.1776025482@sss.pgh.pa.us>
Permalink:  ../578511.1776025482@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/578511.1776025482@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, lukas@fittl.com, andres@anarazel.de, tristan.yim@gmail.com, geidav.pg@gmail.com
  Subject: Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
  In-Reply-To: <578511.1776025482@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox