pg_repack.git / summary / log / commit / refs

commit    b9219be7d843bb04780d879f301f79f285805c19
Author:   Masahiko Sawada <sawada.mshk@gmail.com>
Date:     Tue Feb 21 07:20:38 2017 +0000

    Change format identifier to UINT64_FORMAT.
    
    Change it for portability.


lib/repack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repack.c b/lib/repack.c index a5405af..22a6b56 100644 --- a/lib/repack.c +++ b/lib/repack.c @@ -1306,7 +1306,7 @@ repack_index_swap(PG_FUNCTION_ARGS) orig_idx_oid); execute(SPI_OK_SELECT, str.data); if (SPI_processed != 1) - elog(ERROR, "Could not find index 'index_%u', found %lu matches", + elog(ERROR, "Could not find index 'index_%u', found " UINT64_FORMAT " matches", orig_idx_oid, (uint64) SPI_processed); tuptable = SPI_tuptable; [parent: dfbedb63d927]