From: | Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
Subject: | Remove one TimestampTzGetDatum call in pg_stat_get_io() |
Date: | 2024-09-06 10:48:25 |
Message-ID: | Ztrd+XcPTz1zorkg@ip-10-97-1-34.eu-west-3.compute.internal |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi hackers,
While working on the per backend I/O statistics patch ([1]), I noticed that
there is an unnecessary call to TimestampTzGetDatum() in pg_stat_get_io() (
as the reset_time is already a Datum).
Please find attached a tiny patch to remove this unnecessary call.
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Remove-one-TimestampTzGetDatum-call-in-pg_stat_ge.patch | text/x-diff | 1.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Yugo Nagata | 2024-09-06 11:10:43 | Remove emode argument from XLogFileRead/XLogFileReadAnyTLI |
Previous Message | Господарський суд Одеської області | 2024-09-06 10:29:19 | Господарський суд Одеської області -позовна заява |