Search found 66 matches: hbpgsql

Return to advanced search

Re: who use PostgreSQL with Fivewin ?

... and other FWH functions for reading, editing and modifying the PostGre records and instead directly use TPQquery and TPQrow classes of Harbour's hbpgsql.lib. This helps us to close any further discussion on SavePQQ(). this CODE is to Import DBF into PostgreSQL Table "ala Xbase++ Glad. Now ...
by nageswaragunupudi
Fri Sep 29, 2023 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: who use PostgreSQL with Fivewin ?
Replies: 13
Views: 990

Re: who use PostgreSQL with Fivewin ?

... of FWPGSUPPORT.PRG for reading, saving and primary keys. Instead you may directly use methods of TPQquery and TPQrow classes of Harbour's hbpgsql.lib. This is very simple. This is the way to go:   oQry  := oServer:Query( "select * from states" )   XBROWSER ...
by nageswaragunupudi
Thu Sep 28, 2023 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: who use PostgreSQL with Fivewin ?
Replies: 13
Views: 990

Re: build Import LIB from LibPQ.DLL

... that seems to work :D it compile/link now without Problem, under 64 Bit using MSVC, and i got to 1st Step to show "Catalog" --- to build hbpgsql.LIB your need LibPQ.LIB from PostgreSQL Server and also some *.h copy LibPQ.LIB into c:\fwh64\lib\ hbpgsql.hbP -hblib    -Ic:\fwh64\includetpostgre.prg ...
by Jimmy
Fri Jun 30, 2023 5:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2480

Re: build Import LIB from LibPQ.DLL

... work with *.HBC, where I had Libs= but when i use BCC and *.MAK it "seems" not to work :? after include in *.MAK        echo c:\fwh\lib\hbpgsql.lib + >> b32.bc       echo c:\fwh\lib\libpq.lib + >> b32.bc 32 Bit App using BCC work now :) --- libpq.lib"seem" me the ...
by Jimmy
Thu Jun 29, 2023 9:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2480

Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?

hi, thx for Answer ok i have ask wrong : does C:\fwh\lib\hbpgsql.lib (here 32 Bit) include postgres.c rddcopy.c tpostgre.prg like used in c:\harbour64\contrib\hbpgsql\hbpgsql.hbp :?: i have include libs=hbpgsql.LIB and libs=libpq.lib in *.HBC but still ...
by Jimmy
Mon Jun 26, 2023 12:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
Replies: 2
Views: 180

Re: does Fivewin hbpgsql.lib include CLASS TPQServer ?

hbpqsql.lib is not a FiveWin library. This is a Harbour library
libpq.lib is implib from libpq.dll
by nageswaragunupudi
Sun Jun 25, 2023 11:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
Replies: 2
Views: 180

what LIB Type does Fivewin use :

hi, i found in ReadMe.TXT to build hbpgsql.lib Script makelib.bat creates PostgreSQL wrapper lib for Harbour (../Harbour/lib/hbpgsql.lib) and transforms original libpq.lib in this map (MSVC COFF type) to Borland OMF type (../Harbour/lib/libpq.lib) ...
by Jimmy
Sun Jun 25, 2023 10:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: what LIB Type does Fivewin use :
Replies: 1
Views: 248

does Fivewin hbpgsql.lib include CLASS TPQServer ?

hi, i have include hbpgsql.lib and LibPQ.LIB in *.HBC libs=hbpgsql.LIBlibs=libpq.lib but i get Error : Error: Unresolved external '_HB_FUN_TPQSERVER' referenced from C:\FWH\0\LISTVIEW\OBJ\HBPGU.OBJ Error: Unresolved external '_HB_FUN_PQEXEC' ...
by Jimmy
Sun Jun 25, 2023 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: does Fivewin hbpgsql.lib include CLASS TPQServer ?
Replies: 2
Views: 180

Re: build Import LIB from LibPQ.DLL

FWH comes bundled with fwh\lib\libpq.lib  // 32-bit implibfwh\lib\hbpgsql.lib // harbour postegre libfwh\dll\postgre\libpq.dll  // from Postgre// this dll is also infwh\samples\libpq.dll In addition you also need all the dlls in fwh\dll\postgre\*.dll all ...
by nageswaragunupudi
Tue Jun 20, 2023 8:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2480

Re: build Import LIB from LibPQ.DLL

... build a Lib "a" (MinGW) for LibPQ.DLL 64 Bit ... but i don´t remember how ... --- hm ... CLASS TPQSERVER have some Source c:\hmg.3.4.4\1\hbpgsql\postgres.cc:\hmg.3.4.4\1\hbpgsql\rddcopy.cc:\hmg.3.4.4\1\hbpgsql\postgres.chc:\hmg.3.4.4\1\hbpgsql\hbpgsql.hc:\hmg.3.4.4\1\hbpgsql\libpq-fe.hc:\hmg.3.4.4\1\hbpgsql\tpostgre.prg ...
by Jimmy
Fri Jun 16, 2023 10:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: build Import LIB from LibPQ.DLL
Replies: 37
Views: 2480

Re: Advantage Database Server

... SQLSkip(nRec)  i do have a Xbase++ CLASS but not made a *.CH i´m working on a harbour CLASS using CLASS TPQServer ( \HARBOUR\contrib\hbpgsql\ ) for PostgreSQL --- have work with MySQL and PostgreSQL under Xbase++ but as Xbase++ goes PostgreSQL i have build my Xbase++ App with LibPQ.DLL ...
by Jimmy
Fri Jan 21, 2022 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Advantage Database Server
Replies: 32
Views: 3401

Re: Alguien que acceda a Postgres

Willi,

Harbour proporciona una librería para usar Postgres:

https://github.com/harbour/core/tree/master/contrib/hbpgsql
by Antonio Linares
Mon Jan 10, 2022 7:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alguien que acceda a Postgres
Replies: 5
Views: 515

Re: TPQServer

I pass all the parameters in, but the confirmation window still opens. for me it work ... hm this is a Test Code from HMG #require "hbpgsql"                  // i guess FW use libpq.lib pgsql.lib #include "postgres.ch"   // some ConstantPROCEDURE Main()   LOCAL ...
by Jimmy
Thu Dec 19, 2019 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPQServer
Replies: 4
Views: 875

Re: PostgresSQL from core-master\contrib\hbpgsql

hi,

ok i try a new Start and just have order FW.
by Jimmy
Tue Oct 08, 2019 12:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PostgresSQL from core-master\contrib\hbpgsql
Replies: 28
Views: 6294
Next

Return to advanced search