Re: Minor code improvement to postgresGetForeignPlan

Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>

From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: Tatsuro Yamada <yamada.tatsuro@lab.ntt.co.jp>, pgsql-hackers@postgresql.org
Date: 2017-09-01T09:30:38Z
Lists: pgsql-hackers
On 2017/04/07 13:12, Tatsuro Yamada wrote:> The declaration of  
postgresGetForeignPlan uses baserel, but
> the actual definition uses foreignrel. It would be better to sync.

Agreed.

> Please find attached a patch.

The patch looks good to me, so I'll mark this as Ready for Committer.

(I'm not sure we should do the same thing to the function declaration in  
other places such as fdwapi.h and the documentation for consistency, but  
if so, I'd vote for leaving that for another patch.)

Best regards,
Etsuro Fujita



Commits

  1. Sync function prototype with its actual definition.