Re: Use of PRId64 with PostgreSQL functions

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Paragon Corporation <lr(at)pcorp(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Use of PRId64 with PostgreSQL functions
Date: 2015-07-31 21:04:35
Message-ID: 20150731210435.GF2441@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Paragon Corporation wrote:
> I've been currently suffering an issue in mingw64 with changes made in
> PostGIS topology code base. Sadly it only happens to me (compiling in
> mingw64)
>
> Issue is when code like this was introduced
>
>
> appendStringInfo(str, "%s%" PRId64, sep, edge->start_node);

I think you could use INT64_FORMAT for this.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-31 21:23:11 Re: Use of PRId64 with PostgreSQL functions
Previous Message Alvaro Herrera 2015-07-31 20:51:51 Re: brin index vacuum versus transaction snapshots