[Dbix-class] PK::Auto::Pg bugfix: GUINEA PIGS WANTED
Matt S Trout
dbix-class at trout.me.uk
Fri Nov 25 01:12:33 CET 2005
On Thu, Nov 24, 2005 at 07:05:00PM +0100, Krzysztof Krzyzaniak wrote:
> 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.
Proper, but backwards :)
Applied to trunk.
--
Matt S Trout Specialists in Perl consulting, web development, and
Technical Director UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list