Minor code improvements to create_foreignscan_plan/ExecInitForeignScan - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Minor code improvements to create_foreignscan_plan/ExecInitForeignScan
Date
Msg-id 559F9323.4080403@lab.ntt.co.jp
Whole thread Raw
Responses Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan  (David Rowley <david.rowley@2ndquadrant.com>)
Re: Minor code improvements to create_foreignscan_plan/ExecInitForeignScan  (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
To save cycles, I modified create_foreignscan_plan so that it detects
whether any system columns are requested if scanning a base relation.
Also, I revised other code there a little bit.

For ExecInitForeignScan, I simplified the code there to determine the
scan tuple type, whith seems to me complex beyound necessity.  Maybe
that might be nitpicking, though.

Best regards,
Etsuro Fujita

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: WAL logging problem in 9.4.3?
Next
From: Simon Riggs
Date:
Subject: Re: Freeze avoidance of very large table.