extract is numeric
Since PostgreSQL 14, extract returns numeric, not double precision, so fractions are exact.
task
The seconds field of 2026-06-30 12:34:56.789 with extract (numeric, so 56.789).
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
Since PostgreSQL 14, extract returns numeric, not double precision, so fractions are exact.
The seconds field of 2026-06-30 12:34:56.789 with extract (numeric, so 56.789).