Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since prepared statements are created by the driver, I was assuming this was the case - but I might be completely wrong here.


Converting a SELECT to a PRPEPARE does not really require parsing the complete query—or even it it did, some small concessions for this could be implemented in the line protocol to enable the server to do the prepared statement out of client query.

I don't believe *any* SQL client library actually tries to parse e.g. PostgreSQL itself at any point of processing. You can read what the PostgreSQL protocol does here: https://www.postgresql.org/docs/current/protocol-flow.html#P...


No, prepared statements are server-side.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: