Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Generating valid identifiers

Thread Tools

Re: Generating valid identifiers

Terry Reedy
Posts: n/a
On 7/26/2012 8:26 AM, Laszlo Nagy wrote:
> I have a program that creates various database objects in PostgreSQL.
> There is a DOM, and for each element in the DOM, a database object is
> created (schema, table, field, index and tablespace).
> I do not want this program to generate very long identifiers. It would
> increase SQL parsing time and don't look good. Let's just say that the
> limit should be 32 characters.

If I controlled all the component names, I would try to limit their
lengths so that the sum of lengths was limited to the limit.

Terry Jan Reedy

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generating valid identifiers Laszlo Nagy Python 8 07-27-2012 09:59 AM
Re: Generating valid identifiers Emile van Sebille Python 0 07-26-2012 06:10 PM
Re: Generating valid identifiers Peter Otten Python 0 07-26-2012 03:43 PM
Re: Generating valid identifiers Arnaud Delobelle Python 0 07-26-2012 02:21 PM
Binding identifiers to known or unknown identifiers Java 1 04-22-2008 04:54 AM