[Dbix-class] PK::Auto::Pg bugfix

Brandon Black blblack at gmail.com
Wed Nov 23 20:31:32 CET 2005


Been away from the keyboard for a number of days, I'll get caught up
on the backlogged email after this weekend probably.  But in the
meantime...

As of PostgreSQL 8.1, autoincrementing sequences can (and should) be
specified differently than before.  To cover the new syntax, a small
change needs to be made to Class/DBIx/PK/Auto/Pg.pm.  Works For Me,
YMMV:

30c30
<         m!^nextval\('"?([^"']+)"?'::(?:text|regclass)\)!;
---
>         m!^nextval\('"?([^"']+)"?'::text\)!;


-- Brandon



More information about the Dbix-class mailing list