<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><title>Re: [Slony1-general] Replication breaking on a table and can you replicate certain parts of a table</title><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        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:12.0pt;
        font-family:"Times New Roman","serif";}
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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.avgcert, li.avgcert, div.avgcert
        {mso-style-name:avgcert;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sorry I&#8217;m working on the information the DBA has given me as I myself am not a DBA but really trying hard to understand </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The error in the slony log is:_<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2010-11-10 13:21:50 GMTERROR&nbsp; remoteWorkerThread_1: &quot;<span style='background:yellow'>update only &quot;public&quot;.&quot;stp_seatingmaps&quot; set paà;</span></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&quot; ERROR:&nbsp; syntax error at or near &quot;&quot;</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>LINE 1: update only &quot;public&quot;.&quot;<span style='background:yellow'>stp_seatingmaps&quot; set paà;</span></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This happens when that table is updated on the master and it tried to replicate to the slave producing that error, we have had to turn off the replication on that table for the moment.  We are running RedHat Enterprise Linux 5 advanced server 64 bit, Postgresql Plus Advanced server 8.4 and slony is version 2.0.3<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for answering so quickly, I hope this is a bit more information for you<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Vick Khera [mailto:vivek@khera.org] <br><b>Sent:</b> 30 November 2010 16:06<br><b>To:</b> Emma Lovatt<br><b>Cc:</b> slony1-general@lists.slony.info<br><b>Subject:</b> Re: [Slony1-general] Replication breaking on a table and can you replicate certain parts of a table<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p><span style='font-size:10.0pt'>On Tue, Nov 30, 2010 at 6:36 AM, Emma Lovatt<br>&lt;<a href="mailto:emma.lovatt@ticketline.co.uk">emma.lovatt@ticketline.co.uk</a>&gt; wrote:<br><br>You say &quot;replication is breaking&quot;. Please describe your symptoms<br>exactly.&nbsp; Nobody can offer you help without knowing exactly what you<br>observe.&nbsp; Also include details on what system you have and what<br>versions of your OS, Postgres, and slony you are running.<br><br>My first guess based on zero information is that someone ran a schema<br>alteration without running it through the slonik EXECUTE SCRIPT<br>command.<br><br>&gt; Our entire database is encoding SQL_ASCII.&nbsp; I found that there may be a<br>&gt; possibility that the bytea column is not&nbsp; replicating and it is due to the<br>&gt; encoding of the database which is SQL_ASCII could anyone confirm this?<br><br>this is incorrect.&nbsp; bytea columns replicate just fine.<br><br>&gt; My second question relates to my first if I cannot replicate my bytea<br>&gt; column, I would like to know if it is possible to only replicate parts of a<br>&gt; table and miss out certain columns, is this possible?<br><br>no.&nbsp; the minimal unit of replication is the table.<br><br>------------------------<br>This email was scanned by BitDefender.</span><o:p></o:p></p><div class=MsoNormal align=center style='text-align:center'><hr size=1 width="100%" noshade style='color:#A0A0A0' align=center></div><p class=avgcert>No virus found in this message.<br>Checked by AVG - <a href="http://www.avg.com">www.avg.com</a><br>Version: 10.0.1170 / Virus Database: 426/3288 - Release Date: 11/29/10<o:p></o:p></p></div></body></html>
<br>------------------------<br>This email was scanned by BitDefender.