The following bug has been logged on the website:
Bug reference: 13650
Logged by: Sergey
Email address: sivanov99901@gmail.com
PostgreSQL version: 9.5alpha2
Operating system: Debian 8
Description:
Hi, i'm trying to write custom background worker.
I call BackgroundWorkerInitializeConnection() to initialize connection in
worker main function.
I'm trying to call getTypeBinaryInputInfo(typoid, &typrecv, &typioparam)
with typoid = 20 (int8).
And then i want to call OidReceiveFunctionCall to get datum from binary
buffer.
But i have segmentation fault in getTypeBinaryInputInfo.
Can i use this functions in background worker?
How i can solve my problem?