in reply to Lost with DBI in postgresql

Please post DDL so that we don't have to guess your database schema.