forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit388e75a
committed
Replace run-time error check with assertion
The error message was checking that the structures returned from theparser matched expectations. That's something we usually useassertions for, not a full user-facing error message. So replace thatwith an assertion (hidden inside lfirst_node()).Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/flat/452e9df8-ec89-e01b-b64a-8cc6ce830458%40enterprisedb.com1 parent2941138 commit388e75a
1 file changed
+5
-16
lines changedLines changed: 5 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
220 | 220 |
| |
221 | 221 |
| |
222 | 222 |
| |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 |
| - | |
229 |
| - | |
230 |
| - | |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
| 223 | + | |
239 | 224 |
| |
240 | 225 |
| |
241 | 226 |
| |
242 | 227 |
| |
| 228 | + | |
| 229 | + | |
| 230 | + | |
243 | 231 |
| |
244 | 232 |
| |
245 | 233 |
| |
| |||
273 | 261 |
| |
274 | 262 |
| |
275 | 263 |
| |
| 264 | + | |
276 | 265 |
| |
277 | 266 |
| |
278 | 267 |
| |
|
0 commit comments
Comments
(0)