forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3967737
committed
Add some assertions to view reloption macros
In these macros, the rd_options pointer is cast to ViewOption *. Addsome assertions that the passed-in relation is actually a view beforedoing that.Author: Nikolay Shaplov <dhyan@nataraj.su>Discussion:https://www.postgresql.org/message-id/flat/3634983.eHpMQ1mJnI@x200m1 parent604bd36 commit3967737
1 file changed
+10
-6
lines changedLines changed: 10 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
351 | 351 |
| |
352 | 352 |
| |
353 | 353 |
| |
354 |
| - | |
355 |
| - | |
356 |
| - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
357 | 358 |
| |
358 | 359 |
| |
359 | 360 |
| |
360 | 361 |
| |
361 | 362 |
| |
362 | 363 |
| |
363 | 364 |
| |
364 |
| - | |
| 365 | + | |
| 366 | + | |
365 | 367 |
| |
366 | 368 |
| |
367 | 369 |
| |
| |||
371 | 373 |
| |
372 | 374 |
| |
373 | 375 |
| |
374 |
| - | |
| 376 | + | |
| 377 | + | |
375 | 378 |
| |
376 | 379 |
| |
377 | 380 |
| |
| |||
381 | 384 |
| |
382 | 385 |
| |
383 | 386 |
| |
384 |
| - | |
| 387 | + | |
| 388 | + | |
385 | 389 |
| |
386 | 390 |
| |
387 | 391 |
| |
|
0 commit comments
Comments
(0)