aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-02-22 07:30:21 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-02-22 07:30:21 -0500
commit211e157a51bf94dfcc143e78221951411f87e4b2 (patch)
tree977c1ea8671ebb742fddad631dac91c99f23696f /contrib/postgres_fdw/postgres_fdw.c
parent5fd386bb31f9a8ed5058093bc3f8937fdde3dbec (diff)
downloadpostgresql-211e157a51bf94dfcc143e78221951411f87e4b2.tar.gz
postgresql-211e157a51bf94dfcc143e78221951411f87e4b2.zip
Change postgres_fdw to show casts as casts, not underlying function calls.
On reflection this method seems to be exposing an unreasonable amount of implementation detail. It wouldn't matter when talking to a remote server of the identical Postgres version, but it seems likely to make things worse not better if the remote is a different version with different casting infrastructure. Instead adopt ruleutils.c's policy of regurgitating the cast as it was originally specified; including not showing it at all, if it was implicit to start with. (We must do that because for some datatypes explicit and implicit casts have different semantics.)
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions