* contrib/hbsqlit3/hbsqlit3.hbp
+ contrib/hbsqlit3/hdbcsqlt.prg
+ contrib/hbsqlit3/tests/hdbctest.prg
* contrib/hbpgsql/hbpgsql.hbp
+ contrib/hbpgsql/hdbcpg.prg
+ contrib/hbpgsql/tests/hdbctest.prg
+ Added code posted by Lorenzo Fiorini. Many thanks for this contribution.
It's JDBC-like classes to access PGSQL and SQLITE backends.
+ Cleanups to build in Harbour.
+ Added PROTECTED scope for all object variables. This cause at least
one failure in sqlt. see TOFIX section.
+ Changed to use PQconnectDB() instead of deprecated PQconnect()
+ Some formatting.
; TOFIX: These hbpgsql functions are required, but they are not yet
implemented in Harbour SVN:
PQPREPARE()
PQEXECPREPARED()
; TOFIX: Internal are accessing obj vars directly:
Error BASE/42 Scope violation (protected): TSQLTSTATEMENT:PRES
Called from TSQLTSTATEMENT:PRES(0)
Called from TSQLTRESULTSET:NEW(0)
Called from TSQLTSTATEMENT:EXECUTEQUERY(0)
Called from MAIN(91)
; TODO: Delete PQRDD experimental RDD from pgsql.
; TODO: Rename classes to begin with HDBC*
; TODO: Somehow we should ensure the class layout doesn't deviate from
a common standard. F.e. by inheritance, or I don't know if
Harbour has something like interfaces in OOP.
34 lines
619 B
Plaintext
34 lines
619 B
Plaintext
#
|
|
# $Id$
|
|
#
|
|
|
|
-hblib
|
|
-inc
|
|
|
|
-o${hb_name}
|
|
|
|
-w3 -es2
|
|
|
|
-depkeyhead=pgsql:libpq-fe.h
|
|
-depcontrol=pgsql:no{HB_BUILD_3RDEXT='no'}
|
|
-depcontrol=pgsql:${HB_WITH_PGSQL}
|
|
-depincpath=pgsql:/usr/include
|
|
-depincpath=pgsql:/usr/local/pgsql/include
|
|
-depincpath=pgsql:/usr/local/pgsql/include/libpq
|
|
-depincpath=pgsql:/usr/include/pgsql
|
|
-depincpath=pgsql:/usr/include/postgresql
|
|
-depincpath=pgsql:/postgres/include
|
|
-depincpath=pgsql:/opt/local/include/postgresql84
|
|
-depincpath=pgsql:/opt/local/include/postgresql83
|
|
-depimplibs=pgsql:../lib/libpq.dll
|
|
|
|
-iflag={bcc}-a
|
|
|
|
-instfile=inc:postgres.ch
|
|
|
|
postgres.c
|
|
|
|
tpostgre.prg
|
|
pgrdd.prg
|
|
hdbcpg.prg
|