forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbe850f1
committed
Copy a Param's location field when replacing it with a Const.
This allows Param substitution to produce just the same resultas writing a constant value literally would have done. Whileit hardly matters so far as the current core code is concerned,extensions might take more interest in node location fields.Julien RouhaudDiscussion:https://postgr.es/m/20170311220932.GJ15188@nol.local1 parentc203dcd commitbe850f1
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2329 | 2329 |
| |
2330 | 2330 |
| |
2331 | 2331 |
| |
| 2332 | + | |
2332 | 2333 |
| |
2333 | 2334 |
| |
2334 | 2335 |
| |
2335 | 2336 |
| |
2336 | 2337 |
| |
2337 | 2338 |
| |
2338 | 2339 |
| |
2339 |
| - | |
2340 |
| - | |
2341 |
| - | |
2342 |
| - | |
2343 |
| - | |
2344 |
| - | |
2345 |
| - | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
2346 | 2349 |
| |
2347 | 2350 |
| |
2348 | 2351 |
| |
|
0 commit comments
Comments
(0)