pgsql: Use USECS_PER_SEC from datatype/timestamp.h - Mailing list pgsql-committers

From Álvaro Herrera
Subject pgsql: Use USECS_PER_SEC from datatype/timestamp.h
Date
Msg-id E1vGDq7-004y4g-0r@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use USECS_PER_SEC from datatype/timestamp.h

We had two places defining their own constants for this.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Peter Smith <smithpb2250@gmail.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add assertion check for WAL receiver state during stream-archive
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: pg_createsubscriber: Fix error complaining about the wrong thing