Avoid including utils/timestamp.h in conflict.h.

Amit Kapila <akapila@postgresql.org>

Commit: 308622edf1743aa407df0044cc4529aed8de15e6
Author: Amit Kapila <akapila@postgresql.org>
Date: 2026-02-23T04:49:05Z
Avoid including utils/timestamp.h in conflict.h.

conflict.h currently includes utils/timestamp.h despite only requiring
basic timestamp type definitions. This creates unnecessary overhead.

Replace the include with datatype/timestamp.h to provide the necessary
types. This change requires explicitly including utils/timestamp.h in
test_custom_fixed_stats.c, which previously relied on the indirect
inclusion.

Extracted from the larger patch by Andres Freund.
Discussion: https://postgr.es/m/aY-UE-4t7FiYgH3t@alap3.anarazel.de

Files

Discussion