forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit17024c0
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 parente37d20e commit17024c0
1 file changed
+9
-6
lines changedLines changed: 9 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
909 | 909 |
| |
910 | 910 |
| |
911 | 911 |
| |
912 |
| - | |
913 |
| - | |
914 |
| - | |
915 |
| - | |
916 | 912 |
| |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
917 | 921 |
| |
918 |
| - | |
919 |
| - | |
| 922 | + | |
920 | 923 |
| |
921 | 924 |
| |
922 | 925 |
| |
|
0 commit comments
Comments
(0)