[Dbix-class] PK::Auto::Pg bugfix: GUINEA PIGS WANTED

Krzysztof Krzyzaniak eloy at kofeina.net
Thu Nov 24 19:05:00 CET 2005


Krzysztof Krzyzaniak wrote:
[..]

>>That one-line patch definitely won't work for the case you're showing.
>> Was that column definition imported via pgdump from pre-8.1?  My
> 
> 
> It's probably. It's devel environment which I've started with 8.0 and 
> now is 8.1.
> 
> 
>>serials created under 8.1 show up with "DEFAULT
>>nextval('account_id_seq'::regclass)".  Here's the 8.1 ChangeLog entry
>>that goes into detail about the change:
>>
> 
> 
> Right. So my case is probably not usual. I will run fixseq.sql and will 
> give report.

After fixseq I have now

id bigint DEFAULT nextval('account_id_seq'::regclass) NOT NULL,

so patch is proper.

   eloy
-- 
-------e-l-o-y-----------e-l-o-y- at -t-r-a-n-s-i-l-v-a-n-i-a-.-e-u-.-o-r-g------

        jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the Dbix-class mailing list