forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite0013de
committed
Make better use of existing enums in plpgsql
plpgsql.h defines a number of enums, but most of the code passes themaround as ints. Update structs and function prototypes to take enumtypes instead. This clarifies the struct definitions in plpgsql.h inparticular.Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>1 parent967a7b0 commite0013de
4 files changed
+67
-67
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
96 |
| - | |
| 96 | + | |
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
| |||
410 | 410 |
| |
411 | 411 |
| |
412 | 412 |
| |
413 |
| - | |
| 413 | + | |
414 | 414 |
| |
415 | 415 |
| |
416 | 416 |
| |
| |||
946 | 946 |
| |
947 | 947 |
| |
948 | 948 |
| |
949 |
| - | |
| 949 | + | |
950 | 950 |
| |
951 | 951 |
| |
952 | 952 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1557 | 1557 |
| |
1558 | 1558 |
| |
1559 | 1559 |
| |
1560 |
| - | |
| 1560 | + | |
1561 | 1561 |
| |
1562 | 1562 |
| |
1563 | 1563 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| |||
231 | 231 |
| |
232 | 232 |
| |
233 | 233 |
| |
234 |
| - | |
| 234 | + | |
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
| |||
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
294 |
| - | |
| 294 | + | |
295 | 295 |
| |
296 | 296 |
| |
297 | 297 |
| |
| |||
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
370 |
| - | |
| 370 | + | |
371 | 371 |
| |
372 | 372 |
| |
373 | 373 |
| |
| |||
791 | 791 |
| |
792 | 792 |
| |
793 | 793 |
| |
794 |
| - | |
| 794 | + | |
795 | 795 |
| |
796 | 796 |
| |
797 | 797 |
| |
|
0 commit comments
Comments
(0)