[Qgis-developer] PostGIS warning details in QGIS master

Rouzaud Denis denis.rouzaud at gmail.com
Thu Oct 2 06:42:27 PDT 2014


Hi Pedro,

As said, copy/paste only tries to convert geometries and will paste if possible.

Foreign key violation is only detected by Postgis, so the reason why QGIS is not actually pasting is not due to a FKey violation.

Do you have a debugging environment or can you provide some demo data?

Best wishes,

Denis


On 01 Oct 2014, at 17:23, Pedro Venâncio <pedrongvenancio at gmail.com> wrote:

> Hi Denis,
> 
> 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.
> 
> 
> 
> Not in this case. Both layers were geometry (MultiLineString,20790). 
> 
> 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.
> 
> Tested with today's QGIS master from OSGeo4W (64bits).
> 
> Thanks!
> 
> Pedro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20141002/db3ab049/attachment.html>


More information about the Qgis-developer mailing list