Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe add PQescapeByteaConn #18

Open
Danack opened this issue May 5, 2023 · 3 comments
Open

Maybe add PQescapeByteaConn #18

Danack opened this issue May 5, 2023 · 3 comments

Comments

@Danack
Copy link

Danack commented May 5, 2023

Description

If people think it needs to be added.

@Danack
Copy link
Author

Danack commented May 5, 2023

And maybe the unescape version pg_unescape_bytea ?

@tontonsb
Copy link

tontonsb commented May 5, 2023

PQescapeStringConn should probably have the same treatment as PQescapeByteaConn, whatever is decided to be done.

@Danack
Copy link
Author

Danack commented May 5, 2023

Allegedly, the escaping of 'normal' strings is done okay through the standard PDO::quote function. Though I will defer to anyone who actually uses Postgres and thinks PQescapeStringConn is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants