Re: BigIntegerField for postgres

2006-12-20 Thread Darren Redmond
Ivan, Thanks for the idea. cheers Darren Ivan Sagalaev wrote: Darren Redmond wrote: I could not find any way to make the Integer Field use the int8 type without changing the django db mappings code, I once hacked it with initial SQL that changed column type after creation: ALTER

Re: BigIntegerField for postgres

2006-12-20 Thread Ivan Sagalaev
Darren Redmond wrote: I could not find any way to make the Integer Field use the int8 type without changing the django db mappings code, I once hacked it with initial SQL that changed column type after creation: ALTER TABLE "table" DROP COLUMN "column"; ALTER TABLE "table" ADD COLUMN

BigIntegerField for postgres

2006-12-20 Thread Darren Redmond
Hi all, I am running django with postgresql on a red hat box, and I was using the IntegerField. This seems to get mapped to the postgresql int4 column type and when my integer got bigger that 2^32 I could no longer update the field. I could not find any way to make the Integer Field use the