<p></p>
<p dir="auto">I'm seeing this with version 1.9.2 with PostGIS 3.3.</p>
<pre class="notranslate"><code class="notranslate">osm2pgsql version 1.9.2
Build: Release
Compiled using the following library versions:
Libosmium 2.19.0
Proj [API 6] 9.3.0
Lua 5.1.4 (LuaJIT 2.1.0-beta3)
</code></pre>
<p dir="auto">Arguments used: <code class="notranslate">--create --slim -C 2048 -v --hstore-all</code></p>
<p dir="auto">The logs</p>
<pre class="notranslate"><code class="notranslate">2023-09-11 14:30:26 osm2pgsql version 1.9.2
2023-09-11 14:30:26 [00] Database version: 15.4
2023-09-11 14:30:26 [00] PostGIS version: 3.3
2023-09-11 14:30:27 [00] Found properties table 'osm2pgsql_properties': false.
2023-09-11 14:30:27 [00] Storing properties to table '"public"."osm2pgsql_properties"'.
2023-09-11 14:30:27 [00] Storing attributes='false'
2023-09-11 14:30:27 [00] Storing db_format='1'
2023-09-11 14:30:27 [00] Storing flat_node_file=''
2023-09-11 14:30:27 [00] Storing output='pgsql'
2023-09-11 14:30:27 [00] Storing prefix='planet_osm'
2023-09-11 14:30:27 [00] Storing style='/opt/homebrew/Cellar/osm2pgsql/1.9.2/share/osm2pgsql/default.style'
2023-09-11 14:30:27 [00] Storing updatable='true'
2023-09-11 14:30:28 [00] Storing version='1.9.2'
2023-09-11 14:30:28 [00] Reading file: data.osm.pbf
2023-09-11 14:30:28 [00] Started pool with 4 threads.
2023-09-11 14:30:28 [00] Mid: pgsql, cache=2048, db_format=1
2023-09-11 14:30:28 [00] Setting up table 'planet_osm_nodes'
NOTICE: table "planet_osm_nodes" does not exist, skipping
2023-09-11 14:30:28 [00] Setting up table 'planet_osm_ways'
NOTICE: table "planet_osm_ways" does not exist, skipping
2023-09-11 14:30:28 [00] Setting up table 'planet_osm_rels'
NOTICE: table "planet_osm_rels" does not exist, skipping
2023-09-11 14:30:29 [00] Using projection SRS 3857 (Spherical Mercator)
2023-09-11 14:30:29 [00] Using built-in tag transformations
2023-09-11 14:30:29 [00] Middle 'pgsql' options:
2023-09-11 14:30:29 [00] nodes: true
2023-09-11 14:30:29 [00] untagged_nodes: true
2023-09-11 14:30:29 [00] db_format: 1
2023-09-11 14:30:29 [00] use_flat_node_file: false
2023-09-11 14:30:29 [00] way_node_index_id_shift: 5
2023-09-11 14:30:29 [00] with_attributes: false
2023-09-11 14:30:30 [00] Setting up table 'planet_osm_point'
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
2023-09-11 14:30:31 [00] Setting up table 'planet_osm_line'
NOTICE: table "planet_osm_line" does not exist, skipping
NOTICE: table "planet_osm_line_tmp" does not exist, skipping
2023-09-11 14:30:31 [00] ERROR: Database error: ERROR: prepared statement "get_wkb" already exists
</code></pre>
<p dir="auto">Postgres is hosted with <a href="https://neon.tech/" rel="nofollow">neon</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/924#issuecomment-1713899786">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353RYKXVNZ7WXGJAXRVDXZ4HWNANCNFSM4HBVYBHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353QMECSRKW7WWJ7SSHDXZ4HWNA5CNFSM4HBVYBHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMYUASCQ.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/924/1713899786</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/924#issuecomment-1713899786",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/924#issuecomment-1713899786",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>