Search Postgresql Archives

Still unclear about PQexecParams and "create view"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I'm still unsure about whether I am allowed to use PQexecParams to execute a create view command with $n parameters; reading between the lines of Peter Eisentraut's message I get the impression that this isn't going to work. So:

- Can anyone offer a list of which commands are compatible with PQexecParams and which aren't?

- Is this likely to change any time soon?

- Would you agree that not giving an error message immediately is a bug?

- Since I have now changed all my code to use PQexecParams and binary parameters, I think it is easiest for me to put a wrapper around it that substitutes $ parameters before passing them to PQexec. I'll post the code when I have it working - but maybe someone has already done this?


Cheers,

Phil.






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux