[HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes - Mailing list pgsql-hackers

From Thomas Munro
Subject [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes
Date
Msg-id CAEepm=15e9L695yVCO-_OkBVbsPupyXqzYWzzDmj-bdJ6o2+Pw@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] pg_recvlogical.c doesn't build with--disable-integer-datetimes
Re: [HACKERS] pg_recvlogical.c doesn't build with --disable-integer-datetimes
List pgsql-hackers
Hi,

Since commit 7c030783a5bd07cadffc2a1018bc33119a4c7505 it seems that $SUBJECT.

pg_recvlogical.c:501:37: error: incompatible pointer types passing
'int64 *' (aka 'long *') to parameter of type 'TimestampTz *' (aka
'double *') [-Werror,-Wincompatible-pointer-types]
                                if (!flushAndSendFeedback(conn, &now))

pg_recvlogical.c:547:36: error: incompatible pointer types passing
'int64 *' (aka 'long *') to parameter of type 'TimestampTz *' (aka
'double *') [-Werror,-Wincompatible-pointer-types]
                        if (!flushAndSendFeedback(conn, &now))

pg_recvlogical.c:596:36: error: incompatible pointer types passing
'int64 *' (aka 'long *') to parameter of type 'TimestampTz *' (aka
'double *') [-Werror,-Wincompatible-pointer-types]
                        if (!flushAndSendFeedback(conn, &now))

Maybe the attached is the right fix for that?  (Sorry, I didn't test
because I haven't got around to learning how to drive this new stuff
yet.)

-- 
Thomas Munro
http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] Parallel Append implementation
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] Partitioning vs ON CONFLICT