On Wed, 2006-08-09 at 10:11 +0000, a wrote:
> in the db, id is an int4 and it is incremented everytime a new insert
> is done, deleted ids arent used, so if id overflows its limit what
> happens, how do we handle this

Presumably the database raises an error.

If you're going to do more than 2.1 billion inserts into your table, you
will want to manually do an alter table command to increase the size of
that field. Fortunately, Django doesn't mind at all if you make an
alteration like that to a table it's created: it can still happily read
and write from the field.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to