patch: change magic constants to DEFINE value for readability.
DaeMyung Kang <charsyam@gmail.com>
From: CharSyam <charsyam@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2015-05-23T02:40:36Z
Lists: pgsql-hackers
Attachments
- magic.patch (application/octet-stream) patch
in src/backend/utils/misc/tzparser.c It uses 60 * 60 to represent SECS_PER_HOUR. and It is already define in other files. so I think using SECS_PER_HOUR is more clear for readability. and I attached patch.(it just change 60 * 60 to SECS_PER_HOUR) What do you think?