Minor comment update in execPartition.c - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Minor comment update in execPartition.c
Date
Msg-id 5ADF117B.5030606@lab.ntt.co.jp
Whole thread Raw
Responses Re: Minor comment update in execPartition.c  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
Hi,

Here is a comment for ExecInitPartitionInfo:

 296  * ExecInitPartitionInfo
 297  *      Initialize ResultRelInfo and other information for a
partition if not
 298  *      already done

I think we should remove the words "if not already done" from that
comment because 1) that function is called if the partition wasn't
already initialized and 2) that function assumes that.  Attached is a
small patch for removing the words.

Best regards,
Etsuro Fujita

Attachment

pgsql-hackers by date:

Previous
From: Pavel Raiskup
Date:
Subject: obsoleting plpython2u and defaulting plpythonu to plpython3u
Next
From: Etsuro Fujita
Date:
Subject: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partitionwise join enabled.