pgsql: Use macro MONTHS_PER_YEAR instead of '12' in /ecpg/pgtypeslib

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use macro MONTHS_PER_YEAR instead of '12' in /ecpg/pgtypeslib
Date: 2021-04-02 20:42:45
Message-ID: E1lSQcv-00058l-JH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use macro MONTHS_PER_YEAR instead of '12' in /ecpg/pgtypeslib

All other places already use MONTHS_PER_YEAR appropriately.

Backpatch-through: 9.6

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/45aea47ef430bc942b831932adaca7730c6ae775

Modified Files
--------------
src/interfaces/ecpg/pgtypeslib/interval.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-04-02 20:47:34 Re: pgsql: Add Result Cache executor node (take 2)
Previous Message Thomas Munro 2021-04-02 20:25:25 pgsql: Detect POLLHUP/POLLRDHUP while running queries.