On 4/26/06, Ben Sizer <[EMAIL PROTECTED]> wrote:

Jorge Godoy wrote:
> Em Quarta 26 Abril 2006 05:55, Robin Haswell escreveu:
> > Maybe SO should throw an error/warning when people use these names?
>
> What names?  Names for MySQL are not the same names as for PostgreSQL and
> Oracle and Firebird and ...
>
> If each driver had a list of reserved keywords, then it would be possible.
> The problem is the performance impact since you should check for these on
> table creation and every select (I believe that with sqlbuilder I can select
> into a temporary table...).

I'd think it would be very easy for SQLObject to maintain such a list
for each driver. Such lists are freely available, for a start.

Not really, if i recall correctly, each backend has a interface that it must follow, addding this will make all the *Connection classes break, which will have
a) maintain a list by hand
b) go to their respective backend code aka python bidings  (which are 6 diferent projects) and then change them to tell upstream which are the keywords.

Also As the Godoy pointed out
"I don't believe that we have to make things worse to protect the developer from shooting himself, after all, as you said, such listings are freely available."

--
Ben Sizer




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to