Closed prolic closed 3 years ago
Hi, just to be sure: the pdo_pgsql extension is available but not enabled by default. You should not have to provide pgsql.so
. Have you tried enabling it via extension=pdo_pgsql
directly?
I'm speaking of pgsql, not pdo_pgsql.
I could make it work using the pq extension instead using the libpq files from node-libpq (https://github.com/brianc/node-libpq/files/176483/libpq-static.zip). pgsql is not working, but with pq I have a replacement that works for me.
Unfortunately pdo_pgsql is not suitable for my usecase.
I leave the ticket open, in case you want to do anything about it. Otherwise, feel free to close it.
I need to pgsql extension available, so I provided the pgsql.so in my lambda function. Problem is, the
libpq.so.5
is not available on aws lambda, I tried to provide that as well, but then I receivedundefined symbol: executor_globals
.I don't know if it is possible to statically link the libpq dependency into pgsql when compiling the extension. Do you have any solution for this? (easiest way for me is of course, of you could provide the extension in the bref layer by default).
Thanks