<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Qlik Replicate - Right Truncation of data when replicating from or to PostgreSQL in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Right-Truncation-of-data-when-replicating-from-or/ta-p/1958569</link>
    <description>&lt;P&gt;&lt;SPAN&gt;This article describes a situation involving a PostgreSQL source or target (any supported flavour) when during the replication a message similar to&amp;nbsp; the below can be received from the task:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;String data, right truncation Line xxx&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Postgres Source +&amp;nbsp;Target with predetermined datatype length (Relational or similar)&lt;/LI&gt;
&lt;LI&gt;Any supported source + Postgres Target&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;Add&amp;nbsp;&lt;SPAN&gt;"additionalConnectionProperties" internal parameter with "&lt;/SPAN&gt;&lt;SPAN&gt;LFConversion=0" value to Postgres Endpoint. ODBC connection string parameters for PostgreSQL database are documented &lt;A title="PostgreSQL ODBC Connection properties" href="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" target="_blank" rel="noopener"&gt;here&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Cause&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;There is Postgres ODBC Driver feature that automatically translates "\n" (LF, 0x0a, New Line) in the data stored in this DB to "\n\r" (LF/CR, 0x0a0d, New Line+Carriage Return) upon data retrieval using the ODBC driver. Usually this is unnoticeable, until it causes&amp;nbsp;cos it may increment the length of the source string beyond the designated length of the same column on the target causing symptoms similar to right truncation...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;A tabindex="-1" title="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" href="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" target="_blank" rel="noopener noreferrer" aria-label="Link https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/"&gt;https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Internal Investigation ID(s)&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;Case 00043675&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 22:22:09 GMT</pubDate>
    <dc:creator>dima_etkin</dc:creator>
    <dc:date>2022-07-20T22:22:09Z</dc:date>
    <item>
      <title>Qlik Replicate - Right Truncation of data when replicating from or to PostgreSQL</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Right-Truncation-of-data-when-replicating-from-or/ta-p/1958569</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This article describes a situation involving a PostgreSQL source or target (any supported flavour) when during the replication a message similar to&amp;nbsp; the below can be received from the task:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;String data, right truncation Line xxx&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Environment&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Postgres Source +&amp;nbsp;Target with predetermined datatype length (Relational or similar)&lt;/LI&gt;
&lt;LI&gt;Any supported source + Postgres Target&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution&lt;/H3&gt;
&lt;P&gt;Add&amp;nbsp;&lt;SPAN&gt;"additionalConnectionProperties" internal parameter with "&lt;/SPAN&gt;&lt;SPAN&gt;LFConversion=0" value to Postgres Endpoint. ODBC connection string parameters for PostgreSQL database are documented &lt;A title="PostgreSQL ODBC Connection properties" href="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" target="_blank" rel="noopener"&gt;here&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Cause&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;There is Postgres ODBC Driver feature that automatically translates "\n" (LF, 0x0a, New Line) in the data stored in this DB to "\n\r" (LF/CR, 0x0a0d, New Line+Carriage Return) upon data retrieval using the ODBC driver. Usually this is unnoticeable, until it causes&amp;nbsp;cos it may increment the length of the source string beyond the designated length of the same column on the target causing symptoms similar to right truncation...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Related Content&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;&lt;A tabindex="-1" title="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" href="https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/" target="_blank" rel="noopener noreferrer" aria-label="Link https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/"&gt;https://www.enterprisedb.com/docs/odbc_connector/latest/05_edb-odbc_connection_properties/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Internal Investigation ID(s)&amp;nbsp;&lt;/H3&gt;
&lt;P&gt;Case 00043675&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 22:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Right-Truncation-of-data-when-replicating-from-or/ta-p/1958569</guid>
      <dc:creator>dima_etkin</dc:creator>
      <dc:date>2022-07-20T22:22:09Z</dc:date>
    </item>
  </channel>
</rss>

