Hibernate Dialects for PostgreSQL

Started by Simon Riggsover 18 years ago5 messagespatches
Jump to latest
#1Simon Riggs
simon@2ndQuadrant.com

I enclose 3 Dialects for PostgreSQL, as discussed on -hackers.

The PostgreSQL83Dialect is essentially identical to 82Dialect, but the
principle of having one file per release seems easiest way of doing
things.

Further additions very welcome; I don't suppose at all this is the final
version.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

Attachments:

PostgreSQL8Dialect.javatext/x-csrc; charset=UTF-8; name=PostgreSQL8Dialect.javaDownload
PostgreSQL82Dialect.javatext/x-java; charset=UTF-8; name=PostgreSQL82Dialect.javaDownload
PostgreSQL83Dialect.javatext/x-java; charset=UTF-8; name=PostgreSQL83Dialect.javaDownload
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Simon Riggs (#1)
Re: Hibernate Dialects for PostgreSQL

Simon Riggs wrote:

I enclose 3 Dialects for PostgreSQL, as discussed on -hackers.

There is no such thing as PostgreSQL 8. Please don't do that; it would
confuse users about the versioning scheme.

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

#3Simon Riggs
simon@2ndQuadrant.com
In reply to: Peter Eisentraut (#2)
Re: Hibernate Dialects for PostgreSQL

On Mon, 2007-11-12 at 14:28 +0100, Peter Eisentraut wrote:

Simon Riggs wrote:

I enclose 3 Dialects for PostgreSQL, as discussed on -hackers.

There is no such thing as PostgreSQL 8. Please don't do that; it would
confuse users about the versioning scheme.

Would 8x be the right thing then?

So PostgreSQL8xDialect or PostgreSQL80Dialect or ...

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

#4David Fetter
david@fetter.org
In reply to: Simon Riggs (#3)
Re: Hibernate Dialects for PostgreSQL

On Mon, Nov 12, 2007 at 01:41:49PM +0000, Simon Riggs wrote:

On Mon, 2007-11-12 at 14:28 +0100, Peter Eisentraut wrote:

Simon Riggs wrote:

I enclose 3 Dialects for PostgreSQL, as discussed on -hackers.

There is no such thing as PostgreSQL 8. Please don't do that; it would
confuse users about the versioning scheme.

Would 8x be the right thing then?

So PostgreSQL8xDialect or PostgreSQL80Dialect or ...

I'd say 80 so it's easy to separate off 81, 82, 83, etc. :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

#5Peter Eisentraut
peter_e@gmx.net
In reply to: Simon Riggs (#3)
Re: Hibernate Dialects for PostgreSQL

Am Montag, 12. November 2007 schrieb Simon Riggs:

On Mon, 2007-11-12 at 14:28 +0100, Peter Eisentraut wrote:

Simon Riggs wrote:

I enclose 3 Dialects for PostgreSQL, as discussed on -hackers.

There is no such thing as PostgreSQL 8. Please don't do that; it would
confuse users about the versioning scheme.

Would 8x be the right thing then?

So PostgreSQL8xDialect or PostgreSQL80Dialect or ...

If you know it doesn't work before 8.0, PostgreSQL80Dialect sounds right.
Otherwise just PostgreSQLDialect or perhaps something like PostgreSQL{Base|
Abstract}Dialect.

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