By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
select ('2024-03-14T07:23:56.000111Z'::timestamptz)::timestamptz(3);
select ('2024-03-14T07:23:56.000499Z'::timestamptz)::timestamptz(3);
select ('2024-03-14T07:23:56.000500Z'::timestamptz)::timestamptz(3);
select ('2024-03-14T07:23:56.000501Z'::timestamptz)::timestamptz(3);
select ('2024-03-14T07:23:56.000999Z'::timestamptz)::timestamptz(3);
timestamptz |
---|
2024-03-14 07:23:56+00 |
SELECT 1
timestamptz |
---|
2024-03-14 07:23:56+00 |
SELECT 1
timestamptz |
---|
2024-03-14 07:23:56.001+00 |
SELECT 1
timestamptz |
---|
2024-03-14 07:23:56.001+00 |
SELECT 1
timestamptz |
---|
2024-03-14 07:23:56.001+00 |
SELECT 1