<p></p>
<p dir="auto">With <code class="notranslate">--log-sql</code> enabled, I can see the <code class="notranslate">get_wkb</code> prepare statement more than once...</p>
<div class="highlight highlight-source-sql" dir="auto"><pre class="notranslate">[<span class="pl-c1">00</span>] SQL: (C5) PREPARE get_wkb(int8) <span class="pl-k">AS</span> <span class="pl-k">SELECT</span> way <span class="pl-k">FROM</span> <span class="pl-s"><span class="pl-pds">"</span>public<span class="pl-pds">"</span></span>.<span class="pl-s"><span class="pl-pds">"</span>planet_osm_point<span class="pl-pds">"</span></span> <span class="pl-k">WHERE</span> osm_id <span class="pl-k">=</span> $<span class="pl-c1">1</span>
[<span class="pl-c1">00</span>] SQL: (C7) PREPARE get_wkb(int8) <span class="pl-k">AS</span> <span class="pl-k">SELECT</span> way <span class="pl-k">FROM</span> <span class="pl-s"><span class="pl-pds">"</span>public<span class="pl-pds">"</span></span>.<span class="pl-s"><span class="pl-pds">"</span>planet_osm_line<span class="pl-pds">"</span></span> <span class="pl-k">WHERE</span> osm_id <span class="pl-k">=</span> $<span class="pl-c1">1</span></pre></div>
<p dir="auto">These are coming from two distinct connections, apparently.</p>
<pre class="notranslate"><code class="notranslate"></code></pre>

<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-1713930066">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353TYQRY6P4UTVAM6GJLXZ4JKDANCNFSM4HBVYBHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353UNFKCDOS2KKHOAFVTXZ4JKDA5CNFSM4HBVYBHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOMYUH6UQ.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/1713930066</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-1713930066",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/924#issuecomment-1713930066",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>