forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit59a4a57
committed
Make plpgsql complain about conflicting IN and OUT parameter names.
The core CREATE FUNCTION code only enforces that IN parameter names arenon-duplicate, and that OUT parameter names are separately non-duplicate.This is because some function languages might not have any confusionbetween the two. But in plpgsql, such names are all in the same namespace,so we'd better disallow it.Per a recent complaint from Dan S. Not back-patching since this is a smallissue and the change could cause unexpected failures if we started toenforce it in a minor release.1 parent34be83b commit59a4a57
1 file changed
+28
-2
lines changedLines changed: 28 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
| 98 | + | |
98 | 99 |
| |
99 | 100 |
| |
100 | 101 |
| |
| |||
451 | 452 |
| |
452 | 453 |
| |
453 | 454 |
| |
454 |
| - | |
| 455 | + | |
455 | 456 |
| |
456 | 457 |
| |
457 | 458 |
| |
458 |
| - | |
| 459 | + | |
459 | 460 |
| |
460 | 461 |
| |
461 | 462 |
| |
| |||
913 | 914 |
| |
914 | 915 |
| |
915 | 916 |
| |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
916 | 942 |
| |
917 | 943 |
| |
918 | 944 |
| |
|
0 commit comments
Comments
(0)