[Qgis-developer] PostGisTools Plugin

Martin Dobias wonder.sk at gmail.com
Mon Mar 16 10:59:08 EDT 2009


On Thu, Mar 12, 2009 at 12:39 AM, Mauricio de Paulo
<mauricio.dev at gmail.com> wrote:
> The first thing I noticed from reading some of your code is that you
> still use pygresql. Mind to change it to QtSql? As we've talked before,
> it already comes inside the regular qt windows pack. I didn't try
> postgis manager on windows but on 1.0.0 preview it came with qtsql. Good
> idea? Bad?

Actually it's psycopg2, not pygresql. Currently I'm not a big fan of
rewriting it to support QtSql just because it might be a good idea.
There might be downsides:
- I'm using some psycopg extensions that might not be supported in qtsql
- I remember discussion on qgis-dev list regarding problems with
deployment on mac os x (no postgresql plugin in qt)
- new bugs due the rewrite
So for now I'll stick with psycopg until I'll have a reason to rewrite
it to qtsql.


> Hum... I didn't get any reply from testing the plugin so I decided to
> upload it as a separate plugin for a while. For testing purposes as I
> need feedback of it's usability and interest of the community in that I
> keep on the work. Or else I can stop. :P Lie.

When something isn't in a repository, people are too lazy to install
it manually :)

Bye
Martin


More information about the Qgis-developer mailing list