Re: Passing arrays of strings with backslashes as parameters
Rudy Lippan <[email protected]> Mon, 07 Feb 2011 09:21:41 -0500
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| Message-ID | <[email protected]> |
On 02/06/2011 06:00 PM, Tim Landscheidt wrote: > [email protected] ("Dana Hudes") wrote: > >> There many reasons to quote. It ensures your parameters pass through to the end intact rather than are misinterpreted. >> Its up to you if you want to bang your head against the wall, whine or get on with your program. > > The reasons to quote are the reasons to use parameters. And > I don't bang my head against the wall or whine, I simply ask > on this very DBD::Pg mailing list whether the inability to > use all arrays as parameters is due to my lack of knowledge, > if it's a bug in the package, a missing feature or as $DEITY > intended. What's your take on this? > > Tim > After reading the original post, I would suspect that the extra '\' is an implementation problem in DBD::Pg, but I am not convinced. What does a DBI->trace(9) show? I have no idea what quotemeta would get you, and I don't know why it was suggested. -r