Re: limit on date in postgres/django

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 17:49:50 Wim Feijen wrote: > It is a production machine with a lot of custom software, so I cannot > change that right now. For me, it worked fine under Django 1.0.3 alpha > and postgres 8.2.7 ! ?? > are you using psycopg1 or 2? -- Regards Kenneth Gonsalves Senior Assoc

Re: limit on date in postgres/django

2010-06-09 Thread Wim Feijen
Thanks for your reponse guys! It is a production machine with a lot of custom software, so I cannot change that right now. For me, it worked fine under Django 1.0.3 alpha and postgres 8.2.7 ! ?? Wim On 9 jun, 13:43, David De La Harpe Golden wrote: > On 09/06/10 12:23, Wim Feijen wrote: > > > He

Re: limit on date in postgres/django

2010-06-09 Thread David De La Harpe Golden
On 09/06/10 12:23, Wim Feijen wrote: Hello, Do you know whether there is a minimum to a date? Well there is, at the postgresql level, dates are supported between 4713 BC and 5874897 AD http://www.postgresql.org/docs/8.4/static/datatype-datetime.html Maybe there's some text to date parser lev

Re: limit on date in postgres/django

2010-06-09 Thread Kenneth Gonsalves
On Wednesday 09 June 2010 16:53:55 Wim Feijen wrote: > Do you know whether there is a minimum to a date? In my project, I'd > like to add birthdays from way back, from people born on 21 january > 0061 for example. > > When trying to write these dates to the db, I get the following error. > I'm usi

limit on date in postgres/django

2010-06-09 Thread Wim Feijen
Hello, Do you know whether there is a minimum to a date? In my project, I'd like to add birthdays from way back, from people born on 21 january 0061 for example. When trying to write these dates to the db, I get the following error. I'm using Django 1.0.5 alpha and Postgres 8.3.9. --- Traceback