<?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: [resolved] How do I turn transactions off when using a tPostgresqlRow? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-do-I-turn-transactions-off-when-using-a/m-p/2287547#M61120</link>
    <description>Well I fix the problem just adding the END sentence at the begining but ignoring the BEGIN sentence at the end of the query. It works perfectly
&lt;BR /&gt;i.e. 
&lt;BR /&gt;END;
&lt;BR /&gt;CREATE DATABASE aNewDb
&lt;BR /&gt; WITH OWNER = postgres
&lt;BR /&gt; ENCODING = 'UTF8'
&lt;BR /&gt; TABLESPACE = pg_default;</description>
    <pubDate>Fri, 07 Aug 2009 16:08:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-08-07T16:08:28Z</dc:date>
    <item>
      <title>[resolved] How do I turn transactions off when using a tPostgresqlRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-do-I-turn-transactions-off-when-using-a/m-p/2287546#M61119</link>
      <description>am trying to design a drop-create database job for postgres engine but it spit my face with the message "DROP DATABASE cannot run inside a transaction block".I use a workaround placing an END; and BEGIN statements before and after the drop and create statements like this 
&lt;BR /&gt;"END; 
&lt;BR /&gt;CREATE DATABASE aNewDb 
&lt;BR /&gt; WITH OWNER = postgres 
&lt;BR /&gt; ENCODING = 'UTF8' 
&lt;BR /&gt; TABLESPACE = pg_default; 
&lt;BR /&gt;BEGIN;" 
&lt;BR /&gt;But beside being ugly, the BEGIN start a new transaction at the end of my statement and it is going to be successful making my component return ok even when the statement fails and the runIf trigger connector doesn´t works correctly 
&lt;BR /&gt;HOW I DEACTIVATE TRANSACTIONS FOR THE tPostgresqlRow COMPONENT? THERE MOST BE A CHECKBOX OR SOMETHING FOR THIS MATTER!</description>
      <pubDate>Sat, 16 Nov 2024 13:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-do-I-turn-transactions-off-when-using-a/m-p/2287546#M61119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How do I turn transactions off when using a tPostgresqlRow?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-do-I-turn-transactions-off-when-using-a/m-p/2287547#M61120</link>
      <description>Well I fix the problem just adding the END sentence at the begining but ignoring the BEGIN sentence at the end of the query. It works perfectly
&lt;BR /&gt;i.e. 
&lt;BR /&gt;END;
&lt;BR /&gt;CREATE DATABASE aNewDb
&lt;BR /&gt; WITH OWNER = postgres
&lt;BR /&gt; ENCODING = 'UTF8'
&lt;BR /&gt; TABLESPACE = pg_default;</description>
      <pubDate>Fri, 07 Aug 2009 16:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-do-I-turn-transactions-off-when-using-a/m-p/2287547#M61120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-07T16:08:28Z</dc:date>
    </item>
  </channel>
</rss>

