Misplacement of function declaration in contrib/postgres_fdw/postgres_fdw.h

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

From: Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
To: pgsql-hackers@postgresql.org
Date: 2017-01-12T03:19:01Z
Lists: pgsql-hackers

Attachments

Hi,

While working on pushing down more joins/updates to the remote, I  
noticed that in contrib/postgres_fdw/postgres_fdw.h the declaration of  
get_jointype_name is misplaced in the section of shippable.c.  Since  
that function is defined in contrib/postgres_fdw/deparse.c, we should  
put that declaration in the section of deparse.c in the header file.  
Attached is a patch for that.

Best regards,
Etsuro Fujita

Commits

  1. postgres_fdw: Move function prototype to correct section.