I would like to use PosgreSql with HMGSQL.
ConnectDB2(), Sql() and MiscSql()
What I need to do it? .CH, lib????
I need a example, please.
Best regards.
HMGSQL with PosgreSQL?
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMGSQL with PosgreSQL?
In your project *.hbp file, please include this line.
libs=hmgpgsql
And you can use HMGSQL features, as mentioned in the hmgsql doc.
libs=hmgpgsql
And you can use HMGSQL features, as mentioned in the hmgsql doc.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
-
- Posts: 30
- Joined: Fri Aug 02, 2013 11:47 am
Re: HMGSQL with PosgreSQL?
File: error.log
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
c:/hmg.3.3.1/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lhmgpgsql
Best regards
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;
c:/hmg.3.3.1/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lhmgpgsql
Best regards
Re: HMGSQL with PosgreSQL?
hola, adjunto ejemplo de funciones basicas en postgresql migrando desde dbf
son funciones basicas, espero le sirva
para CONECTARSE BD postgres
usuario postgres
clave postgres
para aplicacion polla
USUARIO 1234
clave 0000
para crear ejecutable
build POLLA
aunque tengo poca experiencia en postgresql, cualquier duda.. con gusto
son funciones basicas, espero le sirva
para CONECTARSE BD postgres
usuario postgres
clave postgres
para aplicacion polla
USUARIO 1234
clave 0000
para crear ejecutable
build POLLA
aunque tengo poca experiencia en postgresql, cualquier duda.. con gusto
- Attachments
-
- POLLA (2).zip
- (9.81 MiB) Downloaded 214 times
-
- Posts: 30
- Joined: Fri Aug 02, 2013 11:47 am
Re: HMGSQL with PosgreSQL?
I am working with "C:\hmg.3.3.1\HARBOUR\contrib\hbpgsql\tests\simple.prg
and libs=libpq
There are all dll from Postgres\bin in my Project's Folder
I'm so grateful to you for helping me.
and libs=libpq
There are all dll from Postgres\bin in my Project's Folder
I'm so grateful to you for helping me.