pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix unportable printf format introduced in commit 9290ad198.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Fix unportable printf format introduced in commit 9290ad198.
@ 2019-11-25 15:48  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Tom Lane @ 2019-11-25 15:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix unportable printf format introduced in commit 9290ad198.

"%ld" is not an acceptable format spec for int64 variables, though
it accidentally works on most non-Windows 64-bit platforms.  Follow
the lead of commit 6a1cd8b92, and use "%lld" with an explicit cast
to long long.  Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5883f5fe27d7b52c812dd0f8cbda67373a14c451

Modified Files
--------------
src/backend/replication/walsender.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Fix unportable printf format introduced in commit 9290ad198.
@ 2019-11-26 12:36  Amit Kapila <amit.kapila16@gmail.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Amit Kapila @ 2019-11-26 12:36 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org

On Mon, Nov 25, 2019 at 9:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Fix unportable printf format introduced in commit 9290ad198.
>

Thanks for fixing this.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-11-26 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-11-25 15:48 pgsql: Fix unportable printf format introduced in commit 9290ad198. Tom Lane <tgl@sss.pgh.pa.us>
2019-11-26 12:36 ` Amit Kapila <amit.kapila16@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox