Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26095 > unrolled thread

Re: Generating valid identifiers

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-07-26 10:51 -0400
Last post2012-07-26 10:51 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Generating valid identifiers Terry Reedy <tjreedy@udel.edu> - 2012-07-26 10:51 -0400

#26095 — Re: Generating valid identifiers

FromTerry Reedy <tjreedy@udel.edu>
Date2012-07-26 10:51 -0400
SubjectRe: Generating valid identifiers
Message-ID<mailman.2614.1343314324.4697.python-list@python.org>
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


[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web