<div dir="auto">Thanks even for the feedback. I have just spotted the nomd option but I didn't get the time to test it.<div dir="auto"><br></div><div dir="auto">Regards </div><div dir="auto">Alexandre</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 11 juin 2024 à 17:43, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>Hi,</p>
<p>The issue has been reported in
<a href="https://github.com/OSGeo/gdal/issues/9994" target="_blank" rel="noreferrer">https://github.com/OSGeo/gdal/issues/9994</a> and should be be fixed
in 3.9.1 per <a href="https://github.com/OSGeo/gdal/pull/10004" target="_blank" rel="noreferrer">https://github.com/OSGeo/gdal/pull/10004</a> (testing of
the 3.9 branch at <a href="https://github.com/OSGeo/gdal/tree/release/3.9" target="_blank" rel="noreferrer">https://github.com/OSGeo/gdal/tree/release/3.9</a>
would be appreciated to confirm that it fixes error for various
permission scenarios)</p>
<p>You can typically get the error with 3.9.0 when importing a
shapefile since there is a layer metadata item set on the
shapefile layer when reading it, that gets automatically imported
by ogr2ogr. You can workaround the issue by specifying the "-nomd"
ogr2ogr option</p>
<p>Even<br>
</p>
<div>Le 11/06/2024 à 17:33, Alexandre Gacon
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hello there,</div>
<div><br>
</div>
<div>After updating our stack from GDAL 3.4.1 to GDAL 3.9.0, we
have ogr2ogr calls which no longer succeed with the following
message:</div>
<div><br>
</div>
<div><span style="color:rgb(29,28,29);font-family:Slack-Lato,Slack-Fractions,appleLogo,sans-serif;font-size:15px;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">ERROR:
permission denied to create event trigger
"ogr_system_tables_event_trigger_for_metadata". HINT: Must
be superuser to create an event trigger.</span></div>
<div><br>
</div>
<div>If I dig in the codebase, it is related to a change named "
<div>
<div> PG:
serialize GDAL multidomain metadata of layer as XML in a
ogr_system_tables.metadata table"</div>
</div>
</div>
<div><br>
</div>
<div>We don't have multidomain in our data: is it mandatory no
to use a superuser when importing data into a PG DB with
ogr2ogr or is there a way to dismiss this message?</div>
<div><br>
</div>
<div>Regards<br>
</div>
<div><br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Alexandre Gacon</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank" rel="noreferrer">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div>