HI,
I want to call PQfn((PGconn*)conn, ...) in fe-exec.c from Java program
using FastPath. However, in Java codes the database connection is
pgsql.Connection which is total different from (PGconn*)connection in C.
How can I get and pass this parameter, conn? It is required that Java
connection is the same as C connection in the backend.
For your information, originally I want to call
(bytestream*)get_write_set(void)
in src/backend/replication/writeset.c.
Does anyone know how to solve this? Thanks in advance.
Regards,
Yi Lin