RE: Determine parallel-safety of partition relations for Inserts - Mailing list pgsql-hackers

From Hou, Zhijie
Subject RE: Determine parallel-safety of partition relations for Inserts
Date
Msg-id 5db8ca759bcb4a1db47da01ecd04b699@G08CNEXMBPEKD05.g08.fujitsu.local
Whole thread Raw
In response to Re: Determine parallel-safety of partition relations for Inserts  (Zhihong Yu <zyu@yugabyte.com>)
List pgsql-hackers
> For v3_0003-reloption-parallel_dml-src.patch :
> +   table_close(rel, NoLock);

> Since the rel would always be closed, it seems the return value from RelationGetParallelDML() can be assigned to a
variable,followed by call to table_close(), then the return statement.
 

Thanks for the comment. Fixed in the latest patch.

Best regards,
houzj



pgsql-hackers by date:

Previous
From: "Hou, Zhijie"
Date:
Subject: RE: Determine parallel-safety of partition relations for Inserts
Next
From: Peter Smith
Date:
Subject: Re: Single transaction in the tablesync worker?