<div class="xam_msg_class">
<div style="font: normal 13px Arial; color:rgb(0, 0, 0);"><div>Hi, </div><div> </div><div>I hav a problem with function that modify database... </div><div> </div><div>My config is Pgpool 3.1.3 in master/slave configuration  whit streaming replication. I try configure "black_function_list" <br><br><div>black_function_list = 
'currval,lastval,nextval,setval,AddGeometryColumn,Fix_Geometry_Columns,UpdateGeometrySRID,Populate_Geometry_Columns,Probe_Geometry_Columns,<br>DropGeometryTable,DropGeometryColumni,sde_table_lock_def_delete,<b>sde_table_lock_def_insert</b>,sde_layer_lock_def_delete_user,sde_logfiles'</div><div> <br></div><br>and if I correctly understand doc all function in black_list must be routed do master. But in slave postgres logfile i found </div><div> </div><div>26696 2013-03-18 11:39:23 CET ERROR:  cannot execute DELETE in a read-only transaction<br>26696 2013-03-18 11:39:23 CET CONTEXT:  SQL statement "DELETE FROM geoportale.sde.sde_table_locks WHERE sde_id = i_sde_id<br>                           AND registration_id = i_registration_id"<br>        PL/pgSQL function "sde_table_lock_def_delete" line 6 at SQL statement<br>        SQL statement "SELECT                 geoportale.sde.SDE_table_lock_def_delete(i_sde_id, i_registration_id)"<br>        PL/pgSQL function "<b>sde_table_lock_def_insert</b>" line 9 at SQL statement<br></div><div>what's goes wrong?? <br></div><div> </div><div>Thank's for help </div><div> </div><div>Best Regard's<br><br>Italo<br></div><div> </div><br><div> </div><div><br></div><br></div>
</div>