You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, the question is how to set the type codec on the whole pool.
I know, that for individual connections, set_type_codec can be used, but I'm not sure about pools.
Also, afaik a function can be specified in create_pool that is called each time a connection is acquired, but that's not too useful because of modularity (as in, I have to set all type codecs in one place, not nice).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So, the question is how to set the type codec on the whole pool.
I know, that for individual connections,
set_type_codec
can be used, but I'm not sure about pools.Also, afaik a function can be specified in
create_pool
that is called each time a connection is acquired, but that's not too useful because of modularity (as in, I have to set all type codecs in one place, not nice).Beta Was this translation helpful? Give feedback.
All reactions