Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: DBD::Pg - $sth->execute($csv_var) ERROR

by perlygapes (Sexton)
on Mar 13, 2020 at 01:13 UTC ( [id://11114197]=note: print w/replies, xml ) Need Help??


in reply to Re: DBD::Pg - $sth->execute($csv_var) ERROR
in thread DBD::Pg - $sth->execute($csv_var) ERROR

Reading through your example, I hear a ticking sound. I think I get what you're saying.
So...before any looping and generation of values to be INSERTed, I need to give Pg the list of column names when I first send the PREPARE to Pg?
I just looked at cpan again. It appears that in every example given, the prepare statement already has the column name(s). OK, I will try your suggestion.
Thanks.
  • Comment on Re^2: DBD::Pg - $sth->execute($csv_var) ERROR

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found