Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back
Date
Msg-id 415517.1642543920@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back
Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Modify pg_basebackup to use a new COPY subprotocol for base back
Next
From: Alvaro Herrera
Date:
Subject: Re: a misbehavior of partition row movement (?)