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?.
now |
---|
2023-02-23 16:13:07.582346+00 |
2023-02-23 16:13:07.582346+00 |
2023-02-23 16:13:07.582346+00 |
SELECT 3
timestamptz |
---|
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
2023-02-23 16:13:07.583133+00 |
SELECT 8
ERROR: invalid input syntax for type timestamp with time zone: "now1" LINE 2: SELECT timestamptz 'now1'; ^