- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitfce7c73
committed
Sort guc_parameters.dat alphabetically by name
The order in this list was previously pretty random and had grownorganically over time. This made it unnecessarily cumbersome tomaintain these lists, as there was no clear guidelines about where toput new entries. Also, after the merger of the type-specific GUCstructs, the list still reflected the previous type-specificsuper-order.By using alphabetical order, the place for new entries becomes clear,and often related entries will be listed close together.This patch reorders the existing entries in guc_parameters.dat, and italso augments the generation script to error if an entry is found atthe wrong place.Note: The order is actually checked after lower-casing, to handle thelikes of "DateStyle".Reviewed-by: John Naylor <johncnaylorls@gmail.com>Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>Discussion:https://www.postgresql.org/message-id/flat/8fdfb91e-60fb-44fa-8df6-f5dea47353c9@eisentraut.org1 parent8f29467 commitfce7c73
File tree
2 files changed
+2469
-2459
lines changed- src/backend/utils/misc
2 files changed
+2469
-2459
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| |||
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| 91 | + | |
| 92 | + | |
83 | 93 | | |
84 | 94 | | |
85 | 95 | | |
| |||
0 commit comments
Comments
(0)