Subject: | loader->make_modules with Postgresql ENUM column |
Date: | Tue, 19 May 2009 16:41:45 +0200 |
To: | bug-Rose-DB-Object [...] rt.cpan.org |
From: | foudil.newbie [...] bigfoot.com |
Dear John,
I'm using $loader->make_modules to build from a PostgreSQL database.
In one of my tables, I'd like to use an ENUM column, but it gets recognized as
{ type => 'scalar', length => 4 }.
Which is incorrect.
CREATE TYPE deposit_type AS ENUM ('publisher', 'author');
ALTER TABLE articles ADD COLUMN deposit_type DEPOSIT_TYPE;
using :
Rose-DB-0.750
Rose-DB-Object-0.780
DBD::Pg.pm 2.11.6
PostgreSQL 8.3
kind regards
Foudil