[Qgis-developer] postgres provider refactoring

Andreas Neumann a.neumann at carto.net
Tue Jan 10 11:34:04 EST 2012


 Hi Jürgen,

 I am stilling trying to find out what causes the troubles.

 Some views work, some not. But all views have in common that the pkey 
 column is always NULL in the attribute column.

 So maybe for the views that work, QGIS finds an alternative column as a 
 pkey, while with other views that fail it doesn't find an alternative 
 pkey column?

 That's just a guess - but it is really strange that for all views the 
 pkey column attribute values are always null.

 Andreas

 On Tue, 10 Jan 2012 16:02:13 +0100, Jürgen E. Fischer wrote:
> Hi Andreas,
>
> On Tue, 10. Jan 2012 at 15:21:06 +0100, Andreas Neumann wrote:
>> Thank you for you work on the PostgreSQL provider.
>
> My pleasure.
>
>> I have troubles with my views which worked before your refactoring. 
>> Now  I
>> can load the layer, but the geometry is not displayed. I can display 
>> the
>> attribute table, but the primary key column is always NULL.
>
> Sounds like a bug.  Can you produce a testcase?   Debugging output 
> might also
> help.
>
>
> Jürgen
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. 
> +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. 
> +49-4931-918175-50
> Software Engineer         D-26506 Norden               
> http://www.norbit.de

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland


More information about the Qgis-developer mailing list