- Notifications
You must be signed in to change notification settings - Fork28
Commitac218aa
committed
Update pg_upgrade test for reg* to include regrole and regnamespace.
When the regrole (0c90f67) and regnamespace (cb9fa80) types wereadded in 9.5, pg_upgrade's check for reg* types wasn't updated. Whileregrole currently is safe, regnamespace is not.It seems unlikely that anybody uses regnamespace inside catalog tablesacross a pg_upgrade, but the tests should be correct nevertheless.While at it, reorder the types checked in the query to bealphabetical. Otherwise it's annoying to compare existing and testedfor types.Author: Andres FreundDiscussion:https://postgr.es/m/037e152a-cb25-3bcb-4f35-bdc9988f8204@2ndQuadrant.comBackpatch: 9.5-, as regrole/regnamespace1 parent7a9d677 commitac218aa
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1015 | 1015 | | |
1016 | 1016 | | |
1017 | 1017 | | |
1018 | | - | |
1019 | | - | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
1020 | 1022 | | |
1021 | 1023 | | |
1022 | | - | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1023 | 1027 | | |
1024 | | - | |
1025 | | - | |
| 1028 | + | |
1026 | 1029 | | |
1027 | 1030 | | |
1028 | 1031 | | |
| |||
0 commit comments
Comments
(0)