pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Dave Page <dpage@pgadmin.org>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Tracking last scan time
Date: Thu, 1 Sep 2022 08:03:59 -0400
Message-ID: <YxCfr+f0sDIZUUe4@momjian.us> (raw)
In-Reply-To: <CA+OCxoxsjFDQ3_hSBmvgB4qV2RN4bEvBDp+GdQmQr97zLSrHgA@mail.gmail.com>
References: <CA+OCxozrVHNFVEPkweUHMZje+t1tfY816d9MZYc6eZwOOusOaQ@mail.gmail.com>
	<YwYzLM0vXFHRbogY@momjian.us>
	<CA+OCxoxFFLz+nQteim-Fx=2_eFx0hj2AY8PKwEbE11Y0KRBPug@mail.gmail.com>
	<YwY90ApeDiNjzhH4@momjian.us>
	<CAApHDvpDVYKSzJ0n3ho7fbGCpK-_q--DndG7X9W0MHjF0Q6OXg@mail.gmail.com>
	<CA+OCxozMPTZjLaiYOvBzFEp-pTKnPOTQ7vckEs+MbVyf=HRchg@mail.gmail.com>
	<Yw5a/xZk/OXC/c+l@momjian.us>
	<CA+OCxoyW+T=xUdehU=oDcHeK-qw7ToaSvy0aOpbdWAa4Q_iL4w@mail.gmail.com>
	<Yw+IsSDlUhbjFiZO@momjian.us>
	<CA+OCxoxsjFDQ3_hSBmvgB4qV2RN4bEvBDp+GdQmQr97zLSrHgA@mail.gmail.com>

On Thu, Sep  1, 2022 at 09:46:59AM +0100, Dave Page wrote:
> On Wed, 31 Aug 2022 at 17:13, Bruce Momjian <bruce@momjian.us> wrote:
>     Wow.  I was just thinking you need second-level accuracy, which must be
>     cheap somewhere.
> 
> 
> Second-level accuracy would indeed be fine for this. Frankly, for my use case
> just the date would be enough, but I can imagine people wanting greater
> accuracy than that. 
> 
> And yes, I was very surprised by the timing results I got as well. I guess it's
> a quirk of macOS - on a Linux box I get ~4s for gettimeofday() and ~1s for time
> ().

i think we lose 95% of our users if we require it to be enabled so let's
work to find a way it can be always enabled.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Indecision is a decision.  Inaction is an action.  Mark Batterson






view thread (43+ messages)  latest in thread

Message-ID: <YxCfr+f0sDIZUUe4@momjian.us>
Permalink:  ../YxCfr+f0sDIZUUe4@momjian.us/
Also on:    postgresql.org/message-id/YxCfr+f0sDIZUUe4@momjian.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: bruce@momjian.us, dpage@pgadmin.org, dgrowleyml@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Tracking last scan time
  In-Reply-To: <YxCfr+f0sDIZUUe4@momjian.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