]> granicus.if.org Git - postgresql/commit
Avoid retrieving dummy NULL columns in postgres_fdw.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Mar 2013 04:31:11 +0000 (00:31 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Mar 2013 04:31:11 +0000 (00:31 -0400)
commite690b9515072fd7767fdeca5c54166f6a77733bc
tree7cde9921ae7a25817b46d50bd15417c895868590
parent9cbc4b80ddc10b36c64514104caa69747c386dcf
Avoid retrieving dummy NULL columns in postgres_fdw.

This should provide some marginal overall savings, since it surely takes
many more cycles for the remote server to deal with the NULL columns than
it takes for postgres_fdw not to emit them.  But really the reason is to
keep the emitted queries from looking quite so silly ...
contrib/postgres_fdw/deparse.c
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/postgres_fdw.c
contrib/postgres_fdw/postgres_fdw.h
contrib/postgres_fdw/sql/postgres_fdw.sql