forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit23d8624
committed
Use named captures in Catalog::ParseHeader()
Using at least perl 5.14 is required since4c15327, meaning that it ispossible to use named captures and the %+ hash instead of having tocount parenthesis groups manually.While on it, CATALOG is made more flexible in its handling ofwhitespaces for parameter lists (see the addition of \s* in thiscase). The generated postgres.bki remains exactly the same before andafter this commit.Author: Dagfinn Ilmari MannsåkerReviewed-by: John NaylorDiscussion:https://postgr.es/m/87y1l3s7o9.fsf@wibble.ilmari.org1 parent5bcc7e6 commit23d8624
1 file changed
+50
-35
lines changedLines changed: 50 additions & 35 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 |
| |
96 |
| - | |
97 |
| - | |
| 101 | + | |
98 | 102 |
| |
99 | 103 |
| |
100 |
| - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
101 | 111 |
| |
102 | 112 |
| |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
| 113 | + | |
111 | 114 |
| |
112 | 115 |
| |
113 |
| - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
114 | 122 |
| |
115 | 123 |
| |
116 | 124 |
| |
117 | 125 |
| |
118 | 126 |
| |
119 | 127 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
| 128 | + | |
124 | 129 |
| |
125 | 130 |
| |
126 |
| - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
127 | 137 |
| |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
| 138 | + | |
133 | 139 |
| |
134 | 140 |
| |
135 |
| - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
136 | 146 |
| |
137 | 147 |
| |
138 | 148 |
| |
139 | 149 |
| |
140 | 150 |
| |
141 | 151 |
| |
142 |
| - | |
143 |
| - | |
144 |
| - | |
| 152 | + | |
145 | 153 |
| |
146 | 154 |
| |
147 |
| - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
148 | 162 |
| |
149 |
| - | |
150 |
| - | |
151 |
| - | |
| 163 | + | |
152 | 164 |
| |
153 | 165 |
| |
154 | 166 |
| |
155 | 167 |
| |
156 |
| - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
157 | 173 |
| |
158 |
| - | |
159 |
| - | |
160 |
| - | |
| 174 | + | |
| 175 | + | |
161 | 176 |
| |
162 | 177 |
| |
163 | 178 |
| |
|
0 commit comments
Comments
(0)