Re: [hibernate-team] PostgreSQLDialect - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [hibernate-team] PostgreSQLDialect
Date
Msg-id 200711121427.56987.peter_e@gmx.net
Whole thread Raw
In response to Re: [hibernate-team] PostgreSQLDialect  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> On Sun, 2007-11-11 at 17:11 +0000, Tom Dunstan wrote:
> > The way to fix both that and the differing available functions would
> > probably be to have a subclass of the dialect for each server version.
> > MySQL seems to have about 5 :)
>
> I think a static dialect for each server version is the way to go.

How would this handle extensions such as PostGIS, Tsearch, XML, etc.?

Certainly, the registerFunction() calls can be automated.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: "Trevor Talbot"
Date:
Subject: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Next
From: "Tom Dunstan"
Date:
Subject: Re: [hibernate-team] PostgreSQLDialect