git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5fd386b) | patch
Change postgres_fdw to show casts as casts, not underlying function calls.
2013年2月22日 12:30:21 +0000 (07:30 -0500)
2013年2月22日 12:30:21 +0000 (07:30 -0500)
commit 211e157a51bf94dfcc143e78221951411f87e4b2
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.)
contrib/postgres_fdw/deparse.c diff | blob | blame | history
contrib/postgres_fdw/expected/postgres_fdw.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /