Re: FastPath - Mailing list pgsql-jdbc

From Paul Thomas
Subject Re: FastPath
Date
Msg-id 20030624081244.A8438@bacon
Whole thread Raw
In response to FastPath  (Yi LIN <ylin30@cs.mcgill.ca>)
Responses Re: FastPath
List pgsql-jdbc
On 23/06/2003 23:04 Yi LIN wrote:
> 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.

PGConnection.getFastpathAPI() might be what you're looking for.

HTH
  --
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants         |
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

pgsql-jdbc by date:

Previous
From: Yi LIN
Date:
Subject: FastPath
Next
From: "Kallol Nandi"
Date:
Subject: Re: Urgent : JDBC problem in PostgreSql for Linux