|
@@ -97,6 +97,7 @@ var
|
|
|
PQexec : function (conn:PPGconn; query:Pchar):PPGresult;cdecl;
|
|
|
PQexecParams : function (conn:PPGconn; command:Pchar; nParams:longint; paramTypes:POid; paramValues:PPchar;paramLengths:Plongint; paramFormats:Plongint; resultFormat:longint):PPGresult;cdecl;
|
|
|
PQexecPrepared : function (conn:PPGconn; stmtName:Pchar; nParams:longint; paramValues:PPchar; paramLengths:Plongint;paramFormats:Plongint; resultFormat:longint):PPGresult;cdecl;
|
|
|
+ PQPrepare : function (conn:PPGconn; stmtName:Pchar; query:Pchar; nParams:longint; paramTypes:POid):PPGresult;cdecl;
|
|
|
{ Interface for multiple-result or asynchronous queries }
|
|
|
PQsendQuery : function (conn:PPGconn; query:Pchar):longint;cdecl;
|
|
|
PQsendQueryParams : function (conn:PPGconn; command:Pchar; nParams:longint; paramTypes:POid; paramValues:PPchar;paramLengths:Plongint; paramFormats:Plongint; resultFormat:longint):longint;cdecl;
|
|
@@ -268,6 +269,7 @@ begin
|
|
|
pointer(PQexec) := GetProcedureAddress(Postgres3LibraryHandle,'PQexec');
|
|
|
pointer(PQexecParams) := GetProcedureAddress(Postgres3LibraryHandle,'PQexecParams');
|
|
|
pointer(PQexecPrepared) := GetProcedureAddress(Postgres3LibraryHandle,'PQexecPrepared');
|
|
|
+ pointer(PQPrepare) := GetProcedureAddress(Postgres3LibraryHandle,'PQPrepare');
|
|
|
pointer(PQsendQuery) := GetProcedureAddress(Postgres3LibraryHandle,'PQsendQuery');
|
|
|
pointer(PQsendQueryParams) := GetProcedureAddress(Postgres3LibraryHandle,'PQsendQueryParams');
|
|
|
pointer(PQsendQueryPrepared) := GetProcedureAddress(Postgres3LibraryHandle,'PQsendQueryPrepared');
|