<?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>topic Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468136#M11847</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304941"&gt;@CarlosCavalcanti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You may download the appropriate version/platform contrib from PostgreSQL download link, for example version &lt;A title="14.x" href="https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-8-x86_64/#:~:text=postgresql14%2Dcontrib,17%3A57%20%20%20%20%20%20%20%20%20%20%20%20%20%20746248%0Apostgresq" target="_blank" rel="noopener"&gt;14.x&lt;/A&gt;. It's better you work with your DBA to install it and restart the database.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 00:17:56 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-07-05T00:17:56Z</dc:date>
    <item>
      <title>Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7df6e8</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468051#M11839</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I'm trying to create a replication task from a postgres database, but when I start the task, I'm facing the following errors:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV id="txtView51" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20051"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot( 'cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7df6e8', 'test_decoding' )' [1022502] (ar_odbc_stmt.c:2810) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView52" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects textRecordSelected" tabindex="20052"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 58P01 NativeError: 1 Message: ERROR: could not access file "test_decoding": No such file or directory; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView53" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20053"&gt;Error while executing the query [1022502] (ar_odbc_stmt.c:2816)&lt;/DIV&gt;
&lt;DIV id="txtView54" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20054"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: wal_slot_create(...) - Unable to create slot 'cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7df6e8' (on execute(...) phase) [1022502] (postgres_endpoint_wal_utils.c:3708) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView55" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20055"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: Creating replication slot 'cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7df6e8' failed. [1022502] (postgres_endpoint_capture.c:415) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView56" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20056"&gt;00013132: 2024-07-04T13:33:28 [TASK_MANAGER ]I: Task error notification received from subtask 0, thread 0, status 1022502 (replicationtask.c:3517)&lt;/DIV&gt;
&lt;DIV id="txtView57" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20057"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: Error executing source loop [1022502] (streamcomponent.c:1940) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView58" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20058"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [TASK_MANAGER ]E: Stream component failed at subtask 0, component st_0_Source_Zabbix [1022502] (subtask.c:1396) &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV id="txtView59" class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20059"&gt;&lt;SPAN class="rColor"&gt;00001436: 2024-07-04T13:33:28 [SOURCE_CAPTURE ]E: Stream component 'st_0_Source_Zabbix' terminated [1022502] (subtask.c:1565)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20059"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="tvRow ng-binding ng-scope ng-isolate-scope fontEffects" tabindex="20059"&gt;&lt;SPAN class="rColor"&gt;What can I do to resolve this?&lt;BR /&gt;My wal-level parameter already is "&amp;gt;= logical" and the user has superuser.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jul 2024 13:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468051#M11839</guid>
      <dc:creator>CarlosCavalcanti</dc:creator>
      <dc:date>2024-07-04T13:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468059#M11841</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304941"&gt;@CarlosCavalcanti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Welcome to Qlik Community forum and thanks for reaching out here!&lt;/P&gt;
&lt;P&gt;This is because the&amp;nbsp;&lt;SPAN&gt;test_decoding plugin was not installed in your PostgreSQL instance. You may install it manually.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BTW, as I remember this plugin is part of the newer versions of PostgreSQL installation by default. What's the PostgreSQL Version you are running now?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 14:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468059#M11841</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-04T14:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468072#M11842</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304941" target="_blank"&gt;@CarlosCavalcanti&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Plugin "&lt;A title="test_decoding" href="https://www.postgresql.org/docs/current/test-decoding.html" target="_blank" rel="noopener"&gt;test_decoding&lt;/A&gt;" is SQL-based test/example module for WAL logical decoding, it is part of the&amp;nbsp;&lt;A title="additional supplied modules in postgresql-contrib" href="https://www.postgresql.org/download/linux/redhat/#:~:text=Other%20Red%20Hat,additional%20supplied%20modules" target="_blank" rel="noopener"&gt;additional supplied modules in postgresql-contrib&lt;/A&gt;, you may download the proper version installation file from PostgreSQL site eg PostgreSQL version 15.4 on RHEL 8 platform&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;A href="https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-8-x86_64/postgresql15-contrib-15.4-1PGDG.rhel8.x86_64.rpm" target="_blank" rel="noopener"&gt;postgresq&lt;EM class="Highlight ht9ea4be6c-a34a-4a05-b920-9d529e3af577"&gt;l1&lt;/EM&gt;5-contrib-15.4-1PGDG.rhel8.x86_64.rpm&lt;/A&gt; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 14:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468072#M11842</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-04T14:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468096#M11843</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for helping. I'm using postgres 14.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 17:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468096#M11843</guid>
      <dc:creator>CarlosCavalcanti</dc:creator>
      <dc:date>2024-07-04T17:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468103#M11845</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;, how may I install the "test_decoding" plugin on Postgres 14?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 18:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468103#M11845</guid>
      <dc:creator>CarlosCavalcanti</dc:creator>
      <dc:date>2024-07-04T18:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed (retcode -1) to execute statement: 'SELECT lsn FROM pg_create_logical_replication_slot('cp_zabbix_00338063_3a70ce11_fb42_0d42_a881_04506a7d</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468136#M11847</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/304941"&gt;@CarlosCavalcanti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You may download the appropriate version/platform contrib from PostgreSQL download link, for example version &lt;A title="14.x" href="https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-8-x86_64/#:~:text=postgresql14%2Dcontrib,17%3A57%20%20%20%20%20%20%20%20%20%20%20%20%20%20746248%0Apostgresq" target="_blank" rel="noopener"&gt;14.x&lt;/A&gt;. It's better you work with your DBA to install it and restart the database.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 00:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Failed-retcode-1-to-execute-statement-SELECT-lsn-FROM-pg-create/m-p/2468136#M11847</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-07-05T00:17:56Z</dc:date>
    </item>
  </channel>
</rss>

