Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Support for PDO pgsql with coroutine hooks #11

Open
cracksalad opened this issue Apr 1, 2022 · 2 comments
Open

Support for PDO pgsql with coroutine hooks #11

cracksalad opened this issue Apr 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@cracksalad
Copy link

If my understanding of the Coroutine Hooks documentation is correct, there is currently support for PDO with mysql but not with pgsql. I am not sure if the information is still up to date and what the difference would be.

Since PostgreSQL is pretty common and has some advantages (like timescaleDB extension) it would be nice to be able to use the full potential of openswoole with the transparent PDO library instead of the PostgreSQL coroutine client.

I am willing to help with this but I need more detailed information and some instructions would be helpful.

@doubaokun doubaokun added the enhancement New feature or request label Apr 1, 2022
@doubaokun
Copy link
Contributor

We will check to support this. You can also send PR, thanks.

@cracksalad
Copy link
Author

@doubaokun to implement it and create a PR, I guess the first step is to find a method to check if my pgsql PDO uses Coroutine Hooks, right? What would be the best way to do this?

When I know a method I can check if it is already supported and if not, I can play around and probably learn how to do it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants