Re: more descriptive message for process termination due to max_slot_wal_keep_size - Mailing list pgsql-hackers

From Tom Lane
Subject Re: more descriptive message for process termination due to max_slot_wal_keep_size
Date
Msg-id 4036166.1664397531@sss.pgh.pa.us
Whole thread Raw
In response to Re: more descriptive message for process termination due to max_slot_wal_keep_size  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
... oh, one other point is that using %ld to print an int64 is entirely
not portable, as indeed the cfbot is complaining about.

I think our best practice on that is to put %lld in the format string
and explicitly cast the corresponding argument to "long long".

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: more descriptive message for process termination due to max_slot_wal_keep_size
Next
From: Robert Haas
Date:
Subject: problems with making relfilenodes 56-bits