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

Matt S Trout dbix-class at trout.me.uk
Thu Nov 24 03:34:53 CET 2005


On Wed, Nov 23, 2005 at 01:31:32PM -0600, Brandon Black wrote:
> 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\)!;

I (as usual) don't have a postgres install handy, can those who do apply and
report results please?

-- 
     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