12 | | 2) you symlink the postgis-2.5 -> postgis-2.1 in new cluster |
13 | | 3) Since you are running 2.1, you need to first drop the functions in your old cluster since the backing functions were removed in 2.2 |
| 12 | |
| 13 | 2) you symlink the postgis-2.5 -> postgis-2.1 in new cluster - this is so when pg_upgrade goes looking for 2.1, it will find it. It won't care it's 2.5 as long as the 2.5 has all the functions that it's SQL functions of 2.1 had. |
| 14 | |
| 15 | 3) Since you are running 2.1, you need to first drop the functions in your old cluster since the backing functions were removed in 2.2 and these present would cause pg_upgrade to fail. |