Re: COPY FROM crash - Mailing list pgsql-hackers

From Zhang Mingli
Subject Re: COPY FROM crash
Date
Msg-id 22b33563-fe81-47f2-bd9f-e19db697a1da@Spark
Whole thread Raw
In response to Re: COPY FROM crash  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: COPY FROM crash
List pgsql-hackers
Hi, 


Zhang Mingli
www.hashdata.xyz

On Jul 30, 2024 at 13:35 +0800, David Rowley <dgrowleyml@gmail.com>, wrote:

If you're only able
to get it to misbehave by setting MAX_PARTITION_BUFFERS to less than
2, then my suggested fix would be to add a comment to say that values
less than to are not supported.
Right. 
On Postgres this crash could only happen if  it is set to zero.
I’ve updated the comments in patch v1 with an additional Assert.


Attachment

pgsql-hackers by date:

Previous
From: "Li, Yong"
Date:
Subject: Re: Separate HEAP WAL replay logic into its own file
Next
From: Zhang Mingli
Date:
Subject: Re: COPY FROM crash