<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Pedro,<div><br></div><div>As said, copy/paste only tries to convert geometries and will paste if possible.</div><div><br></div><div>Foreign key violation is only detected by Postgis, so the reason why QGIS is not actually pasting is not due to a FKey violation.</div><div><br></div><div>Do you have a debugging environment or can you provide some demo data?</div><div><br></div><div>Best wishes,</div><div><br></div><div>Denis</div><div><br></div><div><br><div><div>On 01 Oct 2014, at 17:23, Pedro Venāncio <<a href="mailto:pedrongvenancio@gmail.com">pedrongvenancio@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Hi Denis,<br></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex; position: static; z-index: auto;"><p dir="ltr">Now copy/paste tries to convert geometries to match layer destination. So, you probably had incompatible geometries like trying to paste lines in a point layer.</p><div><br class="webkit-block-placeholder"></div></blockquote><div><br>Not in this case. Both layers were <span style="background-color:rgb(245,245,245)">geometry (MultiLineString,20790). <br><br>In previous versions the only problem that the warning message showed was a violation of the PK constraint (as you can see in the images). And, in fact, after that I did the job in QGIS master DB Manager, with an insert into and select, skiping the PK field (serial), and it worked well.<br><br>Tested with today's QGIS master from OSGeo4W (64bits).<br><br></span></div><div><span style="background-color:rgb(245,245,245)">Thanks!<br><br></span></div><div><span style="background-color:rgb(245,245,245)">Pedro<br></span></div></div></div></div>
</blockquote></div><br></div></body></html>