Re: [Dbix-class] find_or_create problem with Pg: proposed patch

2008-04-03 Thread Nigel Metheringham
On 3 Apr 2008, at 16:30, Alex Povolotsky wrote: Attempt to insert into postgres table with undef's for columns with default values yields an error. It is especially bad with find_or_create sub. I've made and tested a simple patch, it looks working ok. So the problem is that when you

Re: [Dbix-class] find_or_create problem with Pg: proposed patch

2008-04-03 Thread Alex Povolotsky
Nigel Metheringham wrote: On 3 Apr 2008, at 16:30, Alex Povolotsky wrote: Attempt to insert into postgres table with undef's for columns with default values yields an error. It is especially bad with find_or_create sub. I've made and tested a simple patch, it looks working ok. So the