Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKWWc-0001JQ-O4 for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Apr 2020 00:19:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jKWWY-0005jB-Pa for pgsql-hackers@arkaria.postgresql.org; Sat, 04 Apr 2020 00:18:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKWWY-0005hM-Hi for pgsql-hackers@lists.postgresql.org; Sat, 04 Apr 2020 00:18:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKWWW-0008Ji-9e for pgsql-hackers@postgresql.org; Sat, 04 Apr 2020 00:18:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 0340InVl031360; Fri, 3 Apr 2020 20:18:49 -0400 From: Tom Lane To: Robert Haas cc: Justin Pryzby , David Steele , Andres Freund , Noah Misch , Stephen Frost , Amit Kapila , Suraj Kharage , tushar , Rajkumar Raghuwanshi , Rushabh Lathia , Tels , Andrew Dunstan , PostgreSQL Hackers , Jeevan Chalke , vignesh C Subject: Re: backup manifests In-reply-to: <20200403212445.GB12283@telsasoft.com> References: <20200402172318.3kvfrrewxmemzpia@alap3.anarazel.de> <20200402182346.6iffoadxu2hsbi2s@alap3.anarazel.de> <20200402194750.7ze74b4t6b6o4cui@alap3.anarazel.de> <20200403212445.GB12283@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Fri, 03 Apr 2020 16:24:45 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31358.1585959529.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 03 Apr 2020 20:18:49 -0400 Message-ID: <31359.1585959529@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk BTW, some of the buildfarm is showing a simpler portability problem: they think you were too cavalier about the difference between time_t and pg_time_t. (On a platform with 32-bit time_t, that's an actual bug, probably.) lapwing is actually failing: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dlapwing&dt=3D202= 0-04-03%2021%3A41%3A49 ccache gcc -std=3Dgnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wdecla= ration-after-statement -Werror=3Dvla -Wendif-labels -Wmissing-format-attri= bute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=3Ds= tandard -g -O2 -Werror -I. -I. -I../../../src/include -DENFORCE_REGRESSIO= N_TEST_NAME_RESTRICTIONS -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/incl= ude/et -c -o basebackup.o basebackup.c basebackup.c: In function 'AddFileToManifest': basebackup.c:1199:10: error: passing argument 1 of 'pg_gmtime' from incomp= atible pointer type [-Werror] In file included from ../../../src/include/access/xlog_internal.h:26:0, from basebackup.c:20: ../../../src/include/pgtime.h:49:22: note: expected 'const pg_time_t *' bu= t argument is of type 'time_t *' cc1: all warnings being treated as errors make[3]: *** [basebackup.o] Error 1 but some others are showing it as a warning. I suppose that judicious s/time_t/pg_time_t/ would fix this. regards, tom lane