forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1fada5d
committed
Add missing EmitWarningsOnPlaceholders() calls.
Extensions that define any custom GUCs should callEmitWarningsOnPlaceholders after doing so, to help catch misspellings.Many of our contrib modules hadn't gotten the memo on that, though.Also add such calls to src/test/modules extensions that have GUCs.While these aren't really user-facing, they should illustrate goodpractice not faulty practice.Shinya KatoDiscussion:https://postgr.es/m/524fa2c0a34f34b68fbfa90d0760d515@oss.nttdata.com1 parent0e6e7f0 commit1fada5d
File tree
9 files changed
+26
-0
lines changed- contrib
- auth_delay
- pg_trgm
- postgres_fdw
- sepgsql
- src
- backend/utils/misc
- pl/tcl
- test/modules
- delay_execution
- ssl_passphrase_callback
- worker_spi
9 files changed
+26
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 |
| |
71 | 74 |
| |
72 | 75 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
100 | 100 |
| |
101 | 101 |
| |
102 | 102 |
| |
| 103 | + | |
| 104 | + | |
103 | 105 |
| |
104 | 106 |
| |
105 | 107 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
469 | 469 |
| |
470 | 470 |
| |
471 | 471 |
| |
| 472 | + | |
| 473 | + | |
472 | 474 |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
455 | 455 |
| |
456 | 456 |
| |
457 | 457 |
| |
| 458 | + | |
| 459 | + | |
458 | 460 |
| |
459 | 461 |
| |
460 | 462 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9194 | 9194 |
| |
9195 | 9195 |
| |
9196 | 9196 |
| |
| 9197 | + | |
| 9198 | + | |
| 9199 | + | |
9197 | 9200 |
| |
9198 | 9201 |
| |
9199 | 9202 |
| |
| |||
9333 | 9336 |
| |
9334 | 9337 |
| |
9335 | 9338 |
| |
| 9339 | + | |
| 9340 | + | |
| 9341 | + | |
| 9342 | + | |
9336 | 9343 |
| |
9337 | 9344 |
| |
9338 | 9345 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
474 | 474 |
| |
475 | 475 |
| |
476 | 476 |
| |
| 477 | + | |
| 478 | + | |
| 479 | + | |
477 | 480 |
| |
478 | 481 |
| |
479 | 482 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
| 95 | + | |
94 | 96 |
| |
95 | 97 |
| |
96 | 98 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 |
| |
52 | 55 |
| |
53 | 56 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
| 325 | + | |
| 326 | + | |
325 | 327 |
| |
326 | 328 |
| |
327 | 329 |
| |
|
0 commit comments
Comments
(0)