Hi Samuel,.

On Thu, 26. May 2016 at 15:33:44 +0800, Samuel Ingarfield wrote:
> I'm trying to load a postigs layer via python which is defined by a very
> long sql query. It seems that Qgis is truncating the query (which obviously
> causes it to fail). Has anyone come across this before and come up with a
> solution? Or am I loading the layer incorrectly?

Did you enclose the query in ()?

Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden             http://www.norbit.de
QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode     
                    

Attachment: pgpLKL56St3uI.pgp
Description: PGP signature

_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to