- Notifications
You must be signed in to change notification settings - Fork28
Commit203a909
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 parentad6dfc6 commit203a909
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
919 | 919 |
| |
920 | 920 |
| |
921 | 921 |
| |
922 |
| - | |
923 |
| - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
924 | 926 |
| |
925 | 927 |
| |
926 |
| - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
927 | 931 |
| |
928 |
| - | |
929 |
| - | |
| 932 | + | |
930 | 933 |
| |
931 | 934 |
| |
932 | 935 |
| |
|
0 commit comments
Comments
(0)