Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26095
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Generating valid identifiers |
| Date | 2012-07-26 10:51 -0400 |
| References | <50113768.6070008@shopzeus.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2614.1343314324.4697.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Generating valid identifiers Terry Reedy <tjreedy@udel.edu> - 2012-07-26 10:51 -0400
csiph-web