Socket pool getreusedtimes function
Closed this issue · 1 comments
eyounis commented
I am using openresty and lapis with pgmoon.
I have a strange issue with trying to determine if the connection is not "new" i.e is from pool
1- where can I find getreusedtimes function on the object? if not
2- Is there a workaround or another way to determine that the connection came from a pool?
Thanks!
eyounis commented
Found the answer, but here it is if someone else could use it:
pg.sock\getreusedtimes!