Re: Use of PRId64 with PostgreSQL functions - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Use of PRId64 with PostgreSQL functions
Date
Msg-id 20150731210435.GF2441@postgresql.org
Whole thread Raw
In response to Use of PRId64 with PostgreSQL functions  ("Paragon Corporation" <lr@pcorp.us>)
List 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



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: brin index vacuum versus transaction snapshots
Next
From: Tom Lane
Date:
Subject: Re: Use of PRId64 with PostgreSQL functions