<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 14pt; color: #000000'>The functions that performs any statement that change the database, such as insert, update or delete, can not&nbsp; be balanced?<br><br>For these type of functions, you can use the black_function_list or white_function_list parameters in pgpool.conf file.<br><br>Regards.<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">



<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Verdana","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style>


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Dear members of the mailing list,</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">we have now successfully setup a full HA-solution for Postgres incorporating two pg-pool-II instances (heatbeat based fail-over) and a master-slave streaming
 replication.</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">So far, everything works like a charm. However we would now like to enable the load balancing feature of pg-pool if possible.</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">In general, all of our applications are not using direct SQL or prepared statements but instead are calling user defined functions to do their work.</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">So basically all calls are Execute some_function(with, some, parameters). In the UDF we have the actual SQL statements then, the updates, inserts and selects…</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Is there a chance that we can do a load balancing of these functions?
</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Best regards,</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Ludwig</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE">petaFuel GmbH</span></b><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE"></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE">Ludwig Adam<br>
Geschäftsführer<br>
<br>
Münchner Strasse 4<br>
85354 Freising<br>
<br>
Tel.: +49 (0) 8161 4060 - 202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mobil: +49 (0) 179-22 911 02<br>
Fax: +49 (0) 8161 4060 - 401 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eMail: </span><span style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE"><a href="mailto:ludwig.adam@petafuel.de" target="_blank"><span style="font-size:8.0pt;color:blue">ludwig.adam@petafuel.de</span></a></span><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE"><br>
<br>
Geschäftsführer: Ludwig Adam, Dr. Peter Schönweitz<br>
Amtsgericht München, HRB 133773</span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;mso-fareast-language:DE"><a><span style="color:blue">www.petaFuel.de</span></a></span></p>
<p class="MsoNormal">&nbsp;</p>
</div>

<br>

<a href="http://www.uci.cu/" target="_blank">
<img src="http://universidad.uci.cu/email.gif" src="http://universidad.uci.cu/email.gif">



<br>

<br>_______________________________________________<br>pgpool-general mailing list<br>pgpool-general@pgpool.net<br>http://www.pgpool.net/mailman/listinfo/pgpool-general<br></a></blockquote><a href="http://www.uci.cu/" target="_blank"><br></a></div>
<br><html>
<body>
<a href="http://www.uci.cu/">
<img src="http://universidad.uci.cu/email.gif"/>
</body>
</html>

<br></body></html>