-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> Im using the Pg back-end of DBI.  I have a table like this:
...
>                               Table "public.builds"
...
> Yet DBI raises this error:

> no sequence found for Builds.id, check the RDBMS table definition or 
> explicitly set the 
> 'sequence' for this column in Builds at /usr/share/perl5/DBIx/Class/Schema.pm 
> line 1026
> DBIx::Class::Schema::throw_exception('Hydra::Schema=HASH(0x27bbce0)',

Your issue is with DBIx::Class, not DBI. Completely separate beasts. One 
possible 
reason for the error is that you seem to be using "Builds.id", but the 
tablename 
is actually lowercase "builds". psql will show you the lowercased version, but 
your script and/or DBIx::Class::Schema may not.

- -- 
Greg Sabino Mullane g...@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201302081147
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlEVLEEACgkQvJuQZxSWSsiifwCg+BEF2wfDHy8OoV4g2j+xt0On
VTMAoKpJP3oGqlvzW/9jO3x2MNAcp/5R
=BWAk
-----END PGP SIGNATURE-----


Reply via email to