<p dir="ltr"><br>
On 28 Apr 2014 19:29, &quot;Jan Wieck&quot; &lt;<a href="mailto:jan@wi3ck.info">jan@wi3ck.info</a>&gt; wrote:<br>
&gt;<br>
&gt; On 04/28/14 08:01, Steve Singer wrote:<br>
&gt;&gt;</p>
<p dir="ltr">Thank you Steve/Jan.</p>
<p dir="ltr">As I said, I was just trying to prevent duplicate row in that way. Not that it will completely take care of it.</p>
<p dir="ltr"> <br>
&gt;    since the index isn&#39;t restricted to the primary key columns of the<br>
&gt;    tAble. And since it is shared by all user tables, that&#39;s impossible.<br>
&gt;</p>
<p dir="ltr">How about capturing primary key value in catalogs like its done for relation OID?<br>
 (Its a last guess :) )</p>
<p dir="ltr">&gt; 3) It will also no t prevent something like this:<br>
&gt;<br>
&gt;<br>
&gt;     insert into dtest values (1, &#39;D&#39;);<br>
&gt;     -- wait for 30 minutes in which slony cleanup switches logs and<br>
&gt;     -- the index corruption happens<br>
&gt;<br>
&gt;     insert into dtest values (1, &#39;D&#39;);<br>
&gt;</p>
<p dir="ltr">This is the next case i was thinking , it becomes difficult in my case too to find duplicate row in sl_log_N.</p>
<p dir="ltr">I belive this type of scenario should be described somewhere in slony faq for user reference.</p>
<p dir="ltr">-Raghav <br>
&gt;<br>
&gt; Regards,<br>
&gt; Jan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -- <br>
&gt; Jan Wieck<br>
&gt; Senior Software Engineer<br>
&gt; <a href="http://slony.info">http://slony.info</a><br>
</p>