<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Thanks for your answers. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have reviewed my oracle settings and in fact what I said wasn’t strictly ok… I compiled GDAL using a 12.2 oracle client, but the database I got for the tests is oracle 19… so it won’t work (I think Even is right). Sorry for that bad info
 in my first mail.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m going to look for a 12.2 database that I can use for new tests and will keep you informed. Because it should work in that context at least.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Victoria<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Even Rouault <even.rouault@spatialys.com> <br>
<b>Sent:</b> Tuesday, September 15, 2020 4:34 PM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Cc:</b> Ivan Lucena <ivan.lucena@outlook.com>; Victoria Ponz-Sarvise <vponz-sarvise@forsk.com><br>
<b>Subject:</b> Re: [gdal-dev] ogr2ogr with ORACLE driver: limitation on table name size?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p style="margin:0in"><span lang="FR" style="font-size:9.0pt;font-family:"Courier New"">Ivan,<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span lang="FR" style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span lang="FR" style="font-size:9.0pt;font-family:"Courier New"">>
</span><a href="https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca5/"><span lang="FR" style="font-size:9.0pt;font-family:"Courier New"">https://github.com/OSGeo/gdal/blob/70a2ec1795c3e01aeaf1ac3c0f7c69a3f0fa2ca5/</span></a><span lang="FR" style="font-size:9.0pt;font-family:"Courier New""><o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">> gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp#L316<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">The logic<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">if( nServerVersion >= 12 && nServerRelease >= 2 )<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">looks wrong to me. It will not work for 13.0 for example<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">Shouldn't that be<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">if( nServerVersion > 12 || (nServerVersion == 12 && nServerRelease >= 2) )<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">?<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">That said that doesn't explain issues with 12.2
<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">Even<o:p></o:p></span></p>
<p style="margin:0in;-qt-paragraph-type:empty;-qt-block-indent:0"><span style="font-size:9.0pt;font-family:"Courier New""> <o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">--
<o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><span style="font-size:9.0pt;font-family:"Courier New"">Spatialys - Geospatial professional services<o:p></o:p></span></p>
<p style="margin:0in;-qt-block-indent:0;-qt-user-state:0"><a href="http://www.spatialys.com"><span style="font-size:9.0pt;font-family:"Courier New"">http://www.spatialys.com</span></a><span style="font-size:9.0pt;font-family:"Courier New""><o:p></o:p></span></p>
</div>
</body>
</html>