From: | Dave Cramer <davec(at)fastcrypt(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
Cc: | Tom Dunstan <pgsql(at)tomd(dot)cc>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Diego Pires Plentz <diego(dot)pires(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [hibernate-team] PostgreSQLDialect |
Date: | 2007-11-12 15:21:39 |
Message-ID: | EBFA6ADE-1E6B-4847-AA9C-5E9CDDEF6D69@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 12-Nov-07, at 10:10 AM, Simon Riggs wrote:
> On Mon, 2007-11-12 at 14:35 +0000, Tom Dunstan wrote:
>> Nice try :), but as I read the javadoc for DialectFactory it seems to
>> suggest that hibernate gets the major number from our JDBC driver,
>> which dutifully reports it as 8.
>
> We can extend that so it uses getMinorVersion() also.
>
> Personally, I think our JDBC driver is wrong, but thats another issue.
>
What should the driver report then ? I believe the backend code
considers 8 to be the major version, and 0123 to be the minor versions ?
Dave
> --
> Simon Riggs
> 2ndQuadrant http://www.2ndQuadrant.com
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2007-11-12 15:28:09 | Re: Simplifying Text Search |
Previous Message | Simon Riggs | 2007-11-12 15:10:09 | Re: [hibernate-team] PostgreSQLDialect |