forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9e03518
committed
Disallow extensions from owning the schema they are assigned to.
This situation creates a dependency loop that confuses pg_dump and probablyother things. Moreover, since the mental model is that the extension"contains" schemas it owns, but "is contained in" its extschema (eventhough neither is strictly true), having both true at once is confusing forpeople too. So prevent the situation from being set up.Reported and patched by Thom Brown. Back-patch to 9.1 where extensionswere added.1 parent04e96bc commit9e03518
1 file changed
+27
-3
lines changedLines changed: 27 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2290 | 2290 |
| |
2291 | 2291 |
| |
2292 | 2292 |
| |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
2293 | 2304 |
| |
2294 | 2305 |
| |
2295 | 2306 |
| |
| |||
2754 | 2765 |
| |
2755 | 2766 |
| |
2756 | 2767 |
| |
| 2768 | + | |
| 2769 | + | |
| 2770 | + | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
2757 | 2781 |
| |
2758 | 2782 |
| |
2759 | 2783 |
| |
| |||
2807 | 2831 |
| |
2808 | 2832 |
| |
2809 | 2833 |
| |
2810 |
| - | |
2811 |
| - | |
| 2834 | + | |
| 2835 | + | |
2812 | 2836 |
| |
2813 | 2837 |
| |
2814 | 2838 |
| |
| |||
2876 | 2900 |
| |
2877 | 2901 |
| |
2878 | 2902 |
| |
2879 |
| - | |
| 2903 | + | |
2880 | 2904 |
| |
2881 | 2905 |
| |
2882 | 2906 |
| |
|
0 commit comments
Comments
(0)