Hi,
I'm running trunk and I found an issue where my model's tablename
contains uppercase characters.
svn praise says this broke in r13363
r13363 russellm # Use pg_get_serial_sequence to get the
underlying sequence name
r13363 russellm # from the table name and column name
(available since PostgreSQL 8)
r13363 russellm cursor.execute("SELECT
CURRVAL(pg_get_serial_sequence('%s','%s'))" % (table_name, pk_name))
The issue is that table_name is not double-quoted when necessary.
Probably the string argument should be self.quote_name(table_name)
rather than just table_name.
--
You received this message because you are subscribed to the Google Groups
"Django developers" 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/django-developers?hl=en.