On 2021-Oct-18, Bharath Rupireddy wrote:
> On Mon, Oct 18, 2021 at 1:45 PM 蔡梦娟(玊于) wrote:
> > Does this match your previous expectations? Hope to get your reply.
>
> The control from the below ereport(ERROR, doesn't reach the short
> write error part. IMO, the existing way does no harm, it is a
On Mon, Oct 18, 2021 at 1:45 PM 蔡梦娟(玊于) wrote:
>
>
> Hi, all
> I noticed that the "else" is missing during the error report after
> FileWrite() of mdwrite()/mdextend(), short write error is supposed to be
> reported when written bytes is not less than 0.
> I modified it in the attached patch:
>
Hi, all
I noticed that the "else" is missing during the error report after FileWrite()
of mdwrite()/mdextend(), short write error is supposed to be reported when
written bytes is not less than 0.
I modified it in the attached patch:
diff --git a/src/backend/storage/smgr/md.c b/src/backend/storag