Re: [hibernate-team] PostgreSQLDialect

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Dunstan <pgsql(at)tomd(dot)cc>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Diego Pires Plentz <diego(dot)pires(at)gmail(dot)com>
Subject: Re: [hibernate-team] PostgreSQLDialect
Date: 2007-11-12 13:27:55
Message-ID: 200711121427.56987.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Dunstan 2007-11-12 13:30:17 Re: [hibernate-team] PostgreSQLDialect
Previous Message Trevor Talbot 2007-11-12 13:19:30 Re: 8.2.3: Server crashes on Windows using Eclipse/Junit