Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Mixed-case column names breaking under Class::DBI

by sintadil (Pilgrim)
on Sep 21, 2004 at 02:31 UTC ( [id://392548]=note: print w/replies, xml ) Need Help??


in reply to Re: Mixed-case column names breaking under Class::DBI
in thread Mixed-case column names breaking under Class::DBI

Are you using a sequence on it? Alla __PACKAGE__->sequence('cd_id_seq'). I think you need to do that for Pg but I could be wrong.

Good observation, but I'm not using any such data type in the particular table that I tried testing.

You also might give Class::DBI::Pg (has sample code for non-CDBI::Pg use too) a try as the base instead, just to see if it makes any difference.

Yet another good suggestion, but it results in the same syntax error as before because it's not properly quoting the User column.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://392548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-19 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found