<p></p>
<p dir="auto">Weird, I now noticed in pgAdmin that the "Location" property of the <strong>pg_default</strong> tablespace is empty after the upgrade from PostgreSQL 13 to 14. I have never seen this happens with previous upgrades. I wonder if this is a bug in the <strong>pg_upgradecluster</strong> command used to upgrade from 13 to 14? Since osm2pgsql uses the pg_default tablespace as input in the INDEX statements of the osm_id columns, the missing "Location" property is the likely cause of the failure to create them.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/7635726/168462317-0207367c-3536-48e4-98a5-eb0859f14e91.png"><img src="https://user-images.githubusercontent.com/7635726/168462317-0207367c-3536-48e4-98a5-eb0859f14e91.png" alt="afbeelding" style="max-width: 100%;"></a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/1674#issuecomment-1126878983">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RML7L3PHPQ3UHMGW3VKCS6ZANCNFSM5V6VPZVA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353XQH4H26EYK6MWORSTVKCS6ZA5CNFSM5V6VPZVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIMVM6BY.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/osm2pgsql/issues/1674/1126878983</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/1674#issuecomment-1126878983",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/1674#issuecomment-1126878983",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>