forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit211e157
committed
Change postgres_fdw to show casts as casts, not underlying function calls.
On reflection this method seems to be exposing an unreasonable amount ofimplementation detail. It wouldn't matter when talking to a remote serverof the identical Postgres version, but it seems likely to make things worsenot better if the remote is a different version with different castinginfrastructure. Instead adopt ruleutils.c's policy of regurgitating thecast as it was originally specified; including not showing it at all, ifit was implicit to start with. (We must do that because for some datatypesexplicit and implicit casts have different semantics.)1 parent5fd386b commit211e157
2 files changed
+47
-19
lines changedLines changed: 35 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
855 | 855 |
| |
856 | 856 |
| |
857 | 857 |
| |
858 |
| - | |
859 |
| - | |
860 |
| - | |
861 |
| - | |
862 | 858 |
| |
863 | 859 |
| |
864 | 860 |
| |
| |||
870 | 866 |
| |
871 | 867 |
| |
872 | 868 |
| |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
873 | 900 |
| |
874 | 901 |
| |
875 | 902 |
| |
| |||
1062 | 1089 |
| |
1063 | 1090 |
| |
1064 | 1091 |
| |
1065 |
| - | |
1066 |
| - | |
1067 |
| - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1068 | 1096 |
| |
1069 | 1097 |
| |
1070 | 1098 |
| |
|
Lines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
188 | 188 |
| |
189 | 189 |
| |
190 | 190 |
| |
191 |
| - | |
192 |
| - | |
| 191 | + | |
| 192 | + | |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
| 195 | + | |
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| |||
353 | 353 |
| |
354 | 354 |
| |
355 | 355 |
| |
356 |
| - | |
357 |
| - | |
| 356 | + | |
| 357 | + | |
358 | 358 |
| |
359 | 359 |
| |
360 |
| - | |
| 360 | + | |
361 | 361 |
| |
362 | 362 |
| |
363 | 363 |
| |
| |||
369 | 369 |
| |
370 | 370 |
| |
371 | 371 |
| |
372 |
| - | |
373 |
| - | |
| 372 | + | |
| 373 | + | |
374 | 374 |
| |
375 | 375 |
| |
376 |
| - | |
| 376 | + | |
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
| |||
401 | 401 |
| |
402 | 402 |
| |
403 | 403 |
| |
404 |
| - | |
405 |
| - | |
| 404 | + | |
| 405 | + | |
406 | 406 |
| |
407 | 407 |
| |
408 |
| - | |
| 408 | + | |
409 | 409 |
| |
410 | 410 |
| |
411 | 411 |
| |
|
0 commit comments
Comments
(0)