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 1n9whz-0000L0-3N for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jan 2022 22:12:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n9whx-0001MA-PB for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Jan 2022 22:12:05 +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 1n9whx-0001M1-Fp for pgsql-hackers@lists.postgresql.org; Tue, 18 Jan 2022 22:12:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n9whv-0006YE-Co for pgsql-hackers@lists.postgresql.org; Tue, 18 Jan 2022 22:12:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 20IMC00u415518; Tue, 18 Jan 2022 17:12:00 -0500 From: Tom Lane To: Robert Haas cc: PostgreSQL Hackers Subject: Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back In-reply-to: References: Comments: In-reply-to Robert Haas message dated "Tue, 18 Jan 2022 15:54:19 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <415516.1642543920.1@sss.pgh.pa.us> Date: Tue, 18 Jan 2022 17:12:00 -0500 Message-ID: <415517.1642543920@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > Unfortunately, I can't reproduce this locally, even with COPT=-Wall > -Werror -fno-omit-frame-pointer -fsanitize-trap=alignment > -Wno-deprecated-declarations -DWRITE_READ_PARSE_PLAN_TREES > -DSTRESS_SORT_INT_MIN -DENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS. Now that I re-read what you did, I believe you need both of -fsanitize=alignment -fsanitize-trap=alignment to enable those traps to happen. That seems to be the case with Apple's clang, anyway. regards, tom lane