forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d642b5
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 parenta973296 commit4d642b5
1 file changed
+27
-3
lines changedLines changed: 27 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2225 | 2225 |
| |
2226 | 2226 |
| |
2227 | 2227 |
| |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
2228 | 2239 |
| |
2229 | 2240 |
| |
2230 | 2241 |
| |
| |||
2689 | 2700 |
| |
2690 | 2701 |
| |
2691 | 2702 |
| |
| 2703 | + | |
| 2704 | + | |
| 2705 | + | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
| 2709 | + | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
2692 | 2716 |
| |
2693 | 2717 |
| |
2694 | 2718 |
| |
| |||
2742 | 2766 |
| |
2743 | 2767 |
| |
2744 | 2768 |
| |
2745 |
| - | |
2746 |
| - | |
| 2769 | + | |
| 2770 | + | |
2747 | 2771 |
| |
2748 | 2772 |
| |
2749 | 2773 |
| |
| |||
2811 | 2835 |
| |
2812 | 2836 |
| |
2813 | 2837 |
| |
2814 |
| - | |
| 2838 | + | |
2815 | 2839 |
| |
2816 | 2840 |
| |
2817 | 2841 |
| |
|
0 commit comments
Comments
(0)