From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hans-Jürgen Schönig <postgres(at)cybertec(dot)at> |
Cc: | Neil Conway <neilc(at)samurai(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Connect By for 8.0 |
Date: | 2005-02-09 04:18:06 |
Message-ID: | 200502090418.j194I6K11499@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hans-Jrgen Schnig wrote:
> Neil Conway wrote:
> > Robert Treat wrote:
> >
> >> Actually i believe people want both syntax's as the former is used by
> >> oracle and the latter by db2 (iirc)
> >
> >
> > I think the past consensus has been to adopt the SQL standard syntax. Is
> > there any reason to also support the Oracle syntax other than for
> > compatibility? (And if that is it, I think it's a pretty flimsy reason.)
> >
> > -Neil
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
> Neil,
>
> Compatibility is the ONLY reason and it is related to money (the only
> language people understand).
> We have done a lot of migration here and I can tell you that support for
> Oracle style CONNECT BY would make more people happy than the SQL style
> syntax.
> The reason for that is very simple: Code can be migrated without any
> changes (= without introducing potential bugs).
> I know that SQL standards are tremendously important but if there is an
> easy way to support Oracle syntax as well this is definitely the
> preferred way to go.
> I think it is important not to think in dogmas (in this case this means
> SQL syntax is always better) - there should be a reasonable compromise
> between compatibility and standard.
> My compromise would be: Support both syntaxes if possible.
I can see your point, but imagine if we had Oracle compatibility for
lots of cases --- our system would have either non-standard or duplicate
ways of doing things, and that would be quite confusing.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Fuhr | 2005-02-09 04:22:13 | Re: How can I use large object on PostgreSQL Linux |
Previous Message | Jeff Davis | 2005-02-09 02:02:02 | Re: Interpretation of TRUSTED |