pgsql: Use USECS_PER_SEC from datatype/timestamp.h

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use USECS_PER_SEC from datatype/timestamp.h
Date: 2025-11-04 10:00:35
Message-ID: E1vGDq7-004y4g-0r@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use USECS_PER_SEC from datatype/timestamp.h

We had two places defining their own constants for this.

Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Peter Smith <smithpb2250(at)gmail(dot)com>
Discussion: https://postgr.es/m/202510311750.mxiykx3tp4mx@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ad1581d7feaeb1d78a0858703dac1bcb52f600d8

Modified Files
--------------
src/bin/pg_basebackup/pg_createsubscriber.c | 5 ++---
src/bin/pg_ctl/pg_ctl.c | 13 +++++++------
2 files changed, 9 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-11-04 10:40:01 Re: pgsql: pg_createsubscriber: Fix error complaining about the wrong thing
Previous Message Michael Paquier 2025-11-04 04:29:52 pgsql: Add assertion check for WAL receiver state during stream-archive