On Jun 23, 2008, at 2:16 AM, [EMAIL PROTECTED] wrote:

> i can make several tests about how the combination of tablename,
> colname, seqname, indexname alone and some of them in pairs behave
> around max_single_name_len=64 - below, at and above it. i've no iea
> about schemas but i guess they can be added later.

well I'm going off this doc:

http://www.postgresql.org/docs/8.3/interactive/datatype-numeric.html#DATATYPE-SERIAL

which doesn't say what to do when the identifiers are too long.

I think we'd be more immune to issues in this area if we just do a  
little reflection from pg_catalog to get the actual sequence name.   
This is a straightforward but somewhat tedious enhancement to the PG  
module.   The current workaround of just putting in your own  
Sequence() doesn't seem too terrible to me.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to