On 4/26/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:

Em Quarta 26 Abril 2006 05:55, Robin Haswell escreveu:
> Maybe SO should throw an error/warning when people use these names?

Robin As the other Jorge pointed out this is hard  to accomplish since each db vendor has it's own set of keywords

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.

that's not that hard to ask, but it should be add to http://www.python.org/dev/peps/pep-0249/ or maybe make a 3.0 version. And I don't think all the effort will go on just to add those keywords.

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...).

why? you will check on create only

Saying that, why not blaming it on the connection driver itself? :-)  After
all, SQL Object uses them and they did nothing to prevent that as well and
they are the most dedicated part of the setup and more featureful than SQL
Object for one specific database server.

yes that's why I think the best way to go at this is DOCS

--
Jorge Godoy      <[EMAIL PROTECTED]>






--~--~---------~--~----~------------~-------~--~----~
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