On Wed, Jan 6, 2021 at 9:23 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
+/*
+ * List the commands here for which parallel insertions are possible.
+ */
+typedef enum ParallelInsertCmdKind
+{
+ PARALLEL_INSERT_CMD_UNDEF = 0,
+ PARALLEL_INSERT_CMD_CREATE_TABLE_AS
+} ParallelInsertCmdKind;
I see there is some code that is generic for CTAS and INSERT INTO
SELECT *, So is it
possible to take out that common code to a separate base patch? Later
both CTAS and INSERT INTO SELECT * can expand
that for their usage.
--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com