Move timeofday() implementation out of nabstime.c.

Andres Freund <andres@anarazel.de>

Commit: 86896be60ef7ace74b7b6858588ec7fae030fefd
Author: Andres Freund <andres@anarazel.de>
Date: 2018-10-11T18:30:59Z
Releases: 12.0
Move timeofday() implementation out of nabstime.c.

nabstime.c is about to be removed, but timeofday() isn't related to
the rest of the functionality therein, and some find it useful. Move
to timestamp.c.

Discussion:
    https://postgr.es/m/20181009192237.34wjp3nmw7oynmmr@alap3.anarazel.de
    https://postgr.es/m/20180928223240.kgwc4czzzekrpsid%40alap3.anarazel.de

Files

PathChange+/−
src/backend/utils/adt/nabstime.c modified +0 −29
src/backend/utils/adt/timestamp.c modified +20 −0