[Qt-interest] Postgresql 9 support
Harry Sfougaris
hsfougaris at gmail.com
Wed Nov 3 13:46:22 CET 2010
Thank you!
This is exactly what I was hoping for.... Is this your patch, or
something that was released somewhere I could have looked myself? (just
so I know and I may not bother the list with things like this).
Harry
On 3/11/2010 2:03 μμ, Linos wrote:
> For me this simple patch telling qt about postgresql version 9 works
> fine.
>
> Regards,
> Miguel Angel.
>
> El 02/11/10 21:45, Harry Sfougaris escribió:
>> - Compiling works under Windows only with the x86 version of PostgreSQL
>> (and not the x64)
>> - The driver still doesn't work: What I have noticed so far is that
>> QSqlQuery and QSqlQueryModel work, but QSqlTableModel doesn't.
>>
>> Harry Sfougaris
>>
>> On 2/11/2010 9:56 μμ, Diego Schulz wrote:
>>> On Tue, Nov 2, 2010 at 1:11 PM, Konrad Rosenbaum<konrad at silmor.de>
>>> wrote:
>>>> On Tuesday 02 November 2010 14:38:49 Harry Sfougaris wrote:
>>>>> I'm not sure anyone here can answer this, but I was wondering since
>>>>> Postgresql 9 is not supported currently by Qt, how long does it
>>>>> usually
>>>>> take for a major release of a database server to be supported?
>>>>> Will it be in a 4.7.x release, or are there chances of it being
>>>>> updated
>>>>> before (and I just download the updated code and recompile the
>>>>> plugin)?
>>>>> Sorry if this seems off-topic; maybe if there is a more appropriate
>>>>> mailing list where I should be asking this, someone can please let me
>>>>> know...
>>>> Postgres is backwards compatible. Meaning older client libs can
>>>> access newer
>>>> servers and vice versa. You might miss a few features that only
>>>> work between
>>>> newest server and newest client (it is likely that you wouldn't
>>>> want to use a
>>>> wrapper like QtSql if you needed any of those).
>>>>
>>>> If you insist on using the newest client lib - just recompile Qt.
>>>>
>>>>
>>>> Konrad
>>>>
>>> Hi,
>>>
>>> I suspect that by just recompiling Qt isn't enough. A quick peek at
>>> the source [0][1] suggests that there's some missing code in order to
>>> play nice with PostgreSQL 9.x, at least to avoid the warning.
>>>
>>> I don't know if there's new functionality and/or schema changes in pg
>>> 9.x that needs to be reflected in the qpsql driver, though.
>>>
>>> regards,
>>>
>>> diego
>>>
>>> [0]
>>> http://qt.gitorious.org/qt/qt/blobs/4.7/src/sql/drivers/psql/qsql_psql.h
>>>
>>> [1]
>>> http://qt.gitorious.org/qt/qt/blobs/4.7/src/sql/drivers/psql/qsql_psql.cpp
>>>
>>>
>>> http://qt.gitorious.org/qt/qt/blobs/4.7/src/sql/drivers/psql/qsql_psql.cpp
>>>
>>>
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101103/1234d51b/attachment.html
More information about the Qt-interest-old
mailing list