SQLExpress - Xb2.NET     ot4xb  
xfree.public
PostgreSQL
Thread Starter: Osvaldo Ramirez Started: 5/6/2008 10:35 PM UTC
Replies: 19
PostgreSQL
Hello guys

To start with PostgreSQL, we need some utilities and off course we need the DBMS.

1.- Please download the server :

http://wwwmaster.postgresql.org/download/mirrors-ftp?file=%2Fbinary%2Fv8.3.1%2Fwin32%2Fpostgresql-8.3.1-1-binaries-no-installer.zip

2.- Then, open the zip file and extract all files into the folder x:\pgsql

        As you see, inside of the x:\pgsql\ will be there a bin folder, include folder and others folders that are part of postgresql

3.- Run the command initdb:

        Initdb initialize all postgresql database that need to run and I would like to invite to read:

http://www.postgresql.org/docs/8.3/static/app-initdb.html


        I use this command:

        x:\pgsql\bin\initdb -D x:\pgsql\MyDatabase -U postgres

This mean, create a folder called MyDatabase that will be there inside of x:\pgsql
with the super user postgres without password


4.- After all process, We are ready to run as service or terminal.
I prefer, like a service:

        x:\pgsql\bin\pg_ctrl -D x:\pgsql\MyDatabase -l LogFile start


5.- Done

        At this time, you must to have a PostgreSQL server ready to be access via API or ODBC



HTH My friends
Osvaldo Ramirez

------------------------------------------------------------------------------

Hola a todos.

Para iniciar con PostgreSQL, se requieren varios utilerias, pero sobre todo se requiere el servidor.

1.- Favor de bajar el servido de:

http://wwwmaster.postgresql.org/download/mirrors-ftp?file=%2Fbinary%2Fv8.3.1%2Fwin32%2Fpostgresql-8.3.1-1-binaries-no-installer.zip

2.- Despues abrimos el zip y lo extraemos en la raiz de nuetra unidad a trabaja, la cual debe quedar asi. x:\pgsql

        Como veran adentro de dicho folder esta el folder de bin, include, entre otros, los cuales son parte del servidor.

3.- Ahora corremos el commando initdb:

        Initdb inicializa la base de datos y varialbles que el servidor require para trabajar, asi que lo invito a q lea la siguiente documentacion.

http://www.postgresql.org/docs/8.3/static/app-initdb.html


        Yo uso lo siguiente:

        x:\pgsql\bin\initdb -D x:\pgsql\MyDatabase -U postgres

Esto significa que vamos a crear un folder llamado MyDatabase en el cual van a estar mis tablas y con el super usuario postgres sin password.


4.- Una vez creado todo el proceso, ya estamo listos para correr el servidor, como un servicio o como modo terminal.

yo prefiero modo servicio:

        x:\pgsql\bin\pg_ctrl -D x:\pgsql\MyDatabase -l LogFile start


5.- Listo,

        A este paso ya podemos hacer nuestras conecciones via API u ODBC.


Espero que les halla ayudado mis amigos.
Osvaldo Ramirez
Re: PostgreSQL
Well guys,

It is a pleasure a to upload the first program that connect to PostgreSQL - API,

So, it is the begin and We will upload more samples codes and documents about how to access via API or ODBC, remeber all this is based on my own experience.

This example use the lib ot4xb.lib from www.xbwin.com
where you can download the updates files.

Enjoy it

----------------------------------------------------------------

Estiamdos

Es un placer poner el primer ejemplo para accesar PostgreSQL via API,

Poco a poco iremos poniendo ejemplos de para accesar PostgreSQL ya sea usando el API o via ODBC. Recuerden esto es basado en mi propia experiencia.

Este ejemplo usa la libreria ot4xb de www.xbwin.com, solo hay que bajar la mas actual.

Espero que disfruten esto:

Osvaldo Ramirez

This message includes the following attachments:

Re: PostgreSQL
Hello Friends,

In order to complete some PostgreSQL tips I recommend to use the ODBCDBE library to do a really fast migration to SQL without pain.
If anyone is interested, we could discuss it.

With kind regards
--------------------
Hola Amigos,

De forma tal de completar el camino hacia PostgreSQL, recomiendo usar la biblioteca ODBCDBE para realizar una migracin realmente veloz y sin sufrimientos.
Si alguien est interesado, podemos discutirlo.

Un abrazo

Jos Luis Otermin
-------------------------------------------------------
HardCoded Systems SH
Buenos Aires, Argentina
+54-15-4417-7774 (mobile - SMS)
+54-11-4503-1761 (land line - voice only)
Skype User: Dongato06
-------------------------------------------------------
Re: PostgreSQL
Hello Jose Luis,

Of course you can use also the Phil's wrapper or ODBCDBE, or ADO or still better SQLExpress ( I was really impresed with the SQLExpress when Boris was show how easy and powerfull can be SQLExpress).

Probably for a businnes application I would choose SQLExpress and concentrate in the business logical of the application, but this time we are playing a bit just using libpq.dll ( V. 8.3) with just a lightweight wrapper, so we can take samples from C or php and  play a bit arround it with the minimal modifications required to port into a PRG.

libpq.dll can be suitable for a simple application that just need to submit simple querys and get back the results, or also when  some PostgreSQL specific features are required.

Also the objetive is to learn SQL, and the PostgresSLQ peculiarities, so the aquired knowledge can be used later with the other options. The idea is just open a new door, not to close any of the existing.

Regards,

Pablo Botella
-------------------------------------------------------------------------

Hola Jose Luis,

Estoy de acuerdo contigo, podemos usar tambien tanto el wrapper de Phil Ide o tambien ODBCDBE, o  ADO, o incluso aún mejor podemos usar SQLExpress ( La verdad es que me quedé impresionado con SQLExpress en el devcon cuando Boris se dedicó a mostrarnos lo fácilito que es manejarlo y la cantidad de cosas que podemos hacer con esta librería)  

Probablemente para aplicaciones de negocio yo elegiría SQLExpress y me concentraría en la logica de negocios de mi aplicación, pero esta vez estamos trasteando el PostgreSQL un poco directamente con libpq.dll ( V. 8.3)  y usando solo un wrapper muy ligerito, asi podemos pillar ejemplos hechos en C o en php y juguetear un poco con ellos cambiandoles tan solo alguna cosilla suelta para poder pasarlos a PRG.

libpq.dll puede ser apropiada para alguna cosilla como poner consultas simples y pillar los resultados de vuelta, o tambien cuando necesitemos alguna característica esfecífica de PostgreSQL.

Tambien el objetivo es aprender SQL, y las peculiaridades de PostgresSLQ, asi podremos ir adquiriendo conocimientos que podremos usar luego aunque elijamos luego cualquiera de las otras opciones para acceder a la base de datos. La idea es simplemente abrir una nueva puerta, pero sin cerrar las que ya teníamos abiertas previamente.

Saludos,

Pablo Botella
Re: PostgreSQL
Hi Osvaldo,

when I try compile attached program, errors below occured.
It looks like any next external functions are missing.

Regards
             Zdeno


xpp /q /b /dDEBUG @C:\DOCUME~1\user_200\LOCALS~1\Temp\05073634.tmp

alink @C:\DOCUME~1\user_200\LOCALS~1\Temp\05073656.tmp
Alaska 32-Bit Linker Version 1.90.331
Copyright (c) Alaska Software 1997-2006. All rights reserved.

LIBPQ4XB.obj: error ALK2102: unresolved external symbol NLOADLIBRARY
LIBPQ4XB.obj: error ALK2102: unresolved external symbol TXBCLASS
LIBPQ4XB.obj: error ALK2102: unresolved external symbol ARRAY2PPMARSHALL
LIBPQ4XB.obj: error ALK2102: unresolved external symbol PPMARSHALL2ARRAY
LIBPQ4XB.obj: error ALK2102: unresolved external symbol FPQCALL
TEST.obj: error ALK2102: unresolved external symbol CPRINTF
ALINK: fatal error ALK4102: 6 external symbols unresolved

Processing time:      0.33 secs.
Re: PostgreSQL
Zdeno:

Please download the most recently ot4xb from xfree.resources
Version ot4xb - Build: 1_5_1_29

Best Regard
Hector



"Zdeno Bielik" <bielik AT stonline.sk> escribi en el mensaje news:55169769$afd942d$a046@news.xbwin.com...
Hi Osvaldo,

when I try compile attached program, errors below occured.
It looks like any next external functions are missing.

Regards
            Zdeno


xpp /q /b /dDEBUG @C:\DOCUME~1\user_200\LOCALS~1\Temp\05073634.tmp

alink @C:\DOCUME~1\user_200\LOCALS~1\Temp\05073656.tmp
Alaska 32-Bit Linker Version 1.90.331
Copyright (c) Alaska Software 1997-2006. All rights reserved.

LIBPQ4XB.obj: error ALK2102: unresolved external symbol NLOADLIBRARY
LIBPQ4XB.obj: error ALK2102: unresolved external symbol TXBCLASS
LIBPQ4XB.obj: error ALK2102: unresolved external symbol ARRAY2PPMARSHALL
LIBPQ4XB.obj: error ALK2102: unresolved external symbol PPMARSHALL2ARRAY
LIBPQ4XB.obj: error ALK2102: unresolved external symbol FPQCALL
TEST.obj: error ALK2102: unresolved external symbol CPRINTF
ALINK: fatal error ALK4102: 6 external symbols unresolved

Processing time:      0.33 secs.

Re: PostgreSQL
Hi,

when I try compile attached program, errors below occured.
It looks like any next external functions are missing.
Get the latest ot4xb build from here
http://news.xbwin.com/xfree.resources/38/attachments/0/ot4xb.zip
and just recompile it
Regards,
Pablo Botella
Re: PostgreSQL
Please download the most recently ot4xb from xfree.resources
Version ot4xb - Build: 1_5_1_29

Hi Hector,

many thanks!
Now it was compiled, but when I started test.exe, I get next error:
"Unable to load libpq.dll"
- all dll are copied from pq bin directory into alaska's runtime too and server is running(I hope)...

any clue?

Regards
             Zdeno


------------------------------------------------------------------------------
ERROR LOG of "F:\pgsql\prg\TEST.EXE" Date: 05/07/2008 20:22:30

Xbase++ version     : Xbase++ (R) Version 1.90.331
Operating system    : Windows XP 05.01 Build 02600 Service Pack 3
------------------------------------------------------------------------------
oError:args         :
          -> NIL
oError:canDefault   : N
oError:canRetry     : N
oError:canSubstitute: N
oError:cargo        : NIL
oError:description  : Unable to load libpq.dll
oError:filename     :
oError:genCode      :          0
oError:operation    :
oError:osCode       :          0
oError:severity     :          3
oError:subCode      :          0
oError:subSystem    : libpq4xb
oError:thread       :          1
oError:tries        :          0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from INIT: LOAD_THE_LIBPQ_DLL(12)


This message includes the following attachments:

Re: PostgreSQL
Hi,

At least in postgreSQL 8.3 libpq.dll have the following dependencies

comerr32.dll
gssapi32.dll
k5sprt32.dll
krb5_32.dll
libeay32.dll
libiconv2.dll
libintl3.dll
ssleay32.dll

You can found all in the pq\bin directory
also if want to be sure libpq.dll are loaded from the right path change the init proc in libpq4xb.prg replacing nLoadLibrary("libpq.dll") with the full qualified path
of your postgres bin folder or where you have all this 9 files

Regards,
Pablo Botella

-----------------------------------------------------------------------------

Hola,

Al menos en la version 8.3  de Postgres,  libpq.dll depende de las siguientes DLLs:

comerr32.dll
gssapi32.dll
k5sprt32.dll
krb5_32.dll
libeay32.dll
libiconv2.dll
libintl3.dll
ssleay32.dll

Todas estan disponibles en el directorio pq\bin  

Además para estar seguro de cargar libpq.dll del directorio adecuado puedes cambiar el init proc en libpq4xb.prg reemplazando  nLoadLibrary("libpq.dll") por la ruta completa
de tu directorio postgres /bin o donde hayas ubicado las 9 DLLs necesarias

Saludos,
Pablo Botella
Re: PostgreSQL
Hi Pablo,
change the init proc in libpq4xb.prg replacing nLoadLibrary("libpq.dll") with the full qualified path
ok, this was not solution
it started after I copied all pg's dll from pg bin into windows\system32 directory

anyway, now I get this error:
Conection to database failed: FATAL: database "database" does not exist

Why? It does exist...


Sbory patriace tomuto databzovmu systmu bud vlastnen uzvatelom
"user_200". Tento uzvatel mus tiez byt vlastnkom procesu servera.

Zoskupenie databz bude inicialozovan s nrodnm nastavenm Slovak_Slovakia.1250.
Implicitn kdovanie databzy bolo v slade s tm nastaven na WIN1250.
initdb: could not find suitable text search configuration for locale Slovak_Slovakia.1250
The default text search configuration will be set to "simple".

vytvra sa adresr f:/pgsql/MyDatabase ... ok
creating subdirectories ... ok
nastavuje sa implicitn hodnota max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 32MB/204800
vytvraj sa konfiguracn sbory ... ok
vytvra sa databza template1 v f:/pgsql/MyDatabase/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
vytvraj sa systmov pohlady ... ok
loading system objects' descriptions ... ok
vytvraj sa konverzie ... ok
creating dictionaries ... ok
nastavuj sa prvomoci pre zabudovan objekty ... ok
vytvra sa informacn schma ... ok
vysva sa databza template1 ... ok
kopruje sa template1 do template0 ... ok
copying template1 to postgres ... ok

Success. You can now start the database server using:

   "f:\pgsql\bin\postgres" -D "f:/pgsql/MyDatabase"
or
   "f:\pgsql\bin\pg_ctl" -D "f:/pgsql/MyDatabase" -l logfile start



but there was one error or warning message:
initdb: could not find suitable text search configuration for locale Slovak_Slovakia.1250
I think, it is not many importnat now(maybe later)... or yes?

Regards
             Zdeno  


This message includes the following attachments:

Re: PostgreSQL
Hi Zdeno

Please see
 http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html

Best Regards
Hector

"Zdeno Bielik" <bielik AT stonline.sk> escribi en el mensaje news:51aa01c1$4a94495d$a068@news.xbwin.com...
Hi Pablo,
> change the init proc in libpq4xb.prg replacing nLoadLibrary("libpq.dll") > with the full qualified path
ok, this was not solution
it started after I copied all pg's dll from pg bin into windows\system32 directory

anyway, now I get this error:
Conection to database failed: FATAL: database "database" does not exist

Why? It does exist...


Sbory patriace tomuto databzovmu systmu bud vlastnen uzvatelom
"user_200". Tento uzvatel mus tiez byt vlastnkom procesu servera.

Zoskupenie databz bude inicialozovan s nrodnm nastavenm Slovak_Slovakia.1250.
Implicitn kdovanie databzy bolo v slade s tm nastaven na WIN1250.
initdb: could not find suitable text search configuration for locale Slovak_Slovakia.1250
The default text search configuration will be set to "simple".

vytvra sa adresr f:/pgsql/MyDatabase ... ok
creating subdirectories ... ok
nastavuje sa implicitn hodnota max_connections ... 100
selecting default shared_buffers/max_fsm_pages ... 32MB/204800
vytvraj sa konfiguracn sbory ... ok
vytvra sa databza template1 v f:/pgsql/MyDatabase/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
vytvraj sa systmov pohlady ... ok
loading system objects' descriptions ... ok
vytvraj sa konverzie ... ok
creating dictionaries ... ok
nastavuj sa prvomoci pre zabudovan objekty ... ok
vytvra sa informacn schma ... ok
vysva sa databza template1 ... ok
kopruje sa template1 do template0 ... ok
copying template1 to postgres ... ok

Success. You can now start the database server using:

  "f:\pgsql\bin\postgres" -D "f:/pgsql/MyDatabase"
or
  "f:\pgsql\bin\pg_ctl" -D "f:/pgsql/MyDatabase" -l logfile start



but there was one error or warning message:
initdb: could not find suitable text search configuration for locale Slovak_Slovakia.1250
I think, it is not many importnat now(maybe later)... or yes?

Regards
            Zdeno

Re: PostgreSQL
H Hector,


super, many thanks! I will read it carefully.

            Zdeno
Re: PostgreSQL
Dear Zdeno Bielik


how do you create the database "database" ?

PostgreSQL is case sensitive.

Best Regards
Osvaldo Ramirez


anyway, now I get this error:
Conection to database failed: FATAL: database "database" does not exist
Why? It does exist...
Re: PostgreSQL
Hello guys

Actualy I know 4 ways to connect to PostgreSQL


1.- PostgreSQL - Terminal

2.- pgAdminIII - GUI Based
http://wwwmaster.postgresql.org/download/mirrors-ftp?file=%2Fpgadmin3%2Frelease%2Fv1.8.2%2Fwin32%2Fpgadmin3-1.8.2-2.zip

3.- pgAccess - GUI Based
http://sourceforge.net/project/showfiles.php?group_id=52209


4.- phppgAdmin  - Web Based
http://phppgadmin.sourceforge.net/?page=download


HTH
Osvaldo Ramirez


---------------------------------------------------------------------------------------


Actualmente conosco cuatro formas de conectarnos a PostgreSQL

1.- PostgreSQL - Terminal


2.- pgAdminIII - GUI Based
http://wwwmaster.postgresql.org/download/mirrors-ftp?file=%2Fpgadmin3%2Frelease%2Fv1.8.2%2Fwin32%2Fpgadmin3-1.8.2-2.zip

3.- pgAccess   - GUI Based
http://sourceforge.net/project/showfiles.php?group_id=52209


4.- phppgAdmin - Web Based
http://phppgadmin.sourceforge.net/?page=download


Saludos
Osvaldo Ramirez
Re: PostgreSQL
Hola Osvaldo

La instalación me ha funcionado bien y también un ejemplo de la libreria de Boris, todo esto trabajando en local.

También me instala bien en un 2003 server. He quitado el firewall y el antivirus para hacer pruebas. He visto que había que abrir el puerto 5432 pero supongo que esto es solo cuando tienes el Firewall.

Para conectar con el desde el cliente (Vista Bussiness) solo cambio el nombre del servidor. Pero aqui me he atascado. He probado a poner la ip del servidor 192.168.1.3, el nombre del servidor tal y como lo veo en pgAdminIII, veo  pg2003(localhost:5432) y en el cliente escribo pg2003.

Gracias por tu ayuda

Jose Valle
Re: PostgreSQL
Estimado Jose Valle

Precesimanet en la semana, hasta ayer en la noche, puede hacer funcionar   el PostgreSQL en un windows 2003 y accesarlo desde cualquier computadora localmente

Te comento que batalle mucho usando el zip y descomprimirlo en el servidor y echarlo andar como servicio.

Bueno, lo que hize :

1.- Baje un binario que me instalara Postgresql
2.- Cuando lo estaba instalando le dije que lo instalara en un folder c:\postgres o c:\pgsql.
Porque ?, bueno, para no batallar ya que por default lo instala en c:\programs files\postgresql .... etc.etc, asi que se me dificulto via la ventana consola.


3.- La instalacion se debe hacer como un servicio..
y en esa ventana te va a pedir el usuario y password a crear para windows 2003

Ya que es necesario para un windows 2003, para correr un servicio, es necesario una cuenta y un password, asi que esta ventana para eso se refiere.


4.- Despues de va a pedir la ventana de la creation de la base de datos la cual tambien te va a pedir el superuser y el password, pero ojo
hay un cuadrito en el cual dice que si vas aceptar todas las conecciones.
el cual yo palomee.


5.- y listo

ahora el archivo que modifique es este ; pg_hba.conf
y agrege estas lineas

host all all 192.168.1.0/24 md5
y resete el servicio.

y listo, ahora lo que quiero es aceptar conecciones desde fuera
ya que abri el puerto y lo rutee al ip del server.
Se que me fata, agregar en pg_hba.conf, pero sigo probando.

Dime se te funciona.

Saludos









 wrote:
Hola Osvaldo
La instalación me ha funcionado bien y también un ejemplo de la libreria de Boris, todo esto trabajando en local.
También me instala bien en un 2003 server. He quitado el firewall y el antivirus para hacer pruebas. He visto que había que abrir el puerto 5432 pero supongo que esto es solo cuando tienes el Firewall.
Para conectar con el desde el cliente (Vista Bussiness) solo cambio el nombre del servidor. Pero aqui me he atascado. He probado a poner la ip del servidor 192.168.1.3, el nombre del servidor tal y como lo veo en pgAdminIII, veo  pg2003(localhost:5432) y en el cliente escribo pg2003.
Gracias por tu ayuda
Jose Valle
Re: PostgreSQL
Muchisimas gracias Osvaldo. Todo funciona perfecto.

Ayer estuve 10 horas instalando y desinstalando y hoy en 10 minutos ya me conecto. Tuve un problema con el nombre del driver en el cliente que en un sitio ponia "PostgreSQL30" y en otro "PostgreSQL ANSI" pero ese ha sido el único tropiezo.

Estaba a punto de comprar Sqlexpress pero tengo dudas de si será mejor opcion 'Artica'.

Hasta pronto

Jose Valle






"Osvaldo Ramirez" <ramirezosvaldo@yahoo.com> escribió en el mensaje de noticias news:6c5ca45b$20b4827b$86d5@news.xbwin.com...
Estimado Jose Valle

Precesimanet en la semana, hasta ayer en la noche, puede hacer funcionar el PostgreSQL en un windows 2003 y accesarlo desde cualquier computadora localmente

Te comento que batalle mucho usando el zip y descomprimirlo en el servidor y echarlo andar como servicio.

Bueno, lo que hize :

1.- Baje un binario que me instalara Postgresql
2.- Cuando lo estaba instalando le dije que lo instalara en un folder c:\postgres o c:\pgsql.
Porque ?, bueno, para no batallar ya que por default lo instala en c:\programs files\postgresql .... etc.etc, asi que se me dificulto via la ventana consola.


3.- La instalacion se debe hacer como un servicio..
y en esa ventana te va a pedir el usuario y password a crear para windows 2003

Ya que es necesario para un windows 2003, para correr un servicio, es necesario una cuenta y un password, asi que esta ventana para eso se refiere.


4.- Despues de va a pedir la ventana de la creation de la base de datos la cual tambien te va a pedir el superuser y el password, pero ojo
hay un cuadrito en el cual dice que si vas aceptar todas las conecciones.
el cual yo palomee.


5.- y listo

ahora el archivo que modifique es este ; pg_hba.conf
y agrege estas lineas

host all all 192.168.1.0/24 md5
y resete el servicio.

y listo, ahora lo que quiero es aceptar conecciones desde fuera
ya que abri el puerto y lo rutee al ip del server.
Se que me fata, agregar en pg_hba.conf, pero sigo probando.

Dime se te funciona.

Saludos









wrote:
> Hola Osvaldo
>
> La instalación me ha funcionado bien y también un ejemplo de la libreria > de Boris, todo esto trabajando en local.
>
> También me instala bien en un 2003 server. He quitado el firewall y el > antivirus para hacer pruebas. He visto que había que abrir el puerto 5432 > pero supongo que esto es solo cuando tienes el Firewall.
>
> Para conectar con el desde el cliente (Vista Bussiness) solo cambio el > nombre del servidor. Pero aqui me he atascado. He probado a poner la ip > del servidor 192.168.1.3, el nombre del servidor tal y como lo veo en > pgAdminIII, veo  pg2003(localhost:5432) y en el cliente escribo pg2003.
>
> Gracias por tu ayuda
>
> Jose Valle
>
Re: PostgreSQL
Hello Osvaldo,

I try compile Your test.prg and libpq4xb.prg, but few errors occured:


xpp /n/m/w /dll:dynamic @c:\temp\06122209.tmp
Xbase++ (R) Compiler 1.90.331 Apr 27 2006
Copyright (c) Alaska Software. All rights reserved.
File: LIBPQ4XB.PRG Line:  253
LIBPQ4XB.PRG(17:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(20:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(24:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(31:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(35:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(40:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(62:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(177:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(193:0): error XBT0200: Syntax Error
LIBPQ4XB.PRG(220:0): error XBT0200: Syntax Error
10 error(s) found in file LIBPQ4XB.PRG!

Missing libpq4xb.ch.

Please help.

Reagrds
Zoltan Sterner
Re: PostgreSQL
Hi,

I try compile Your test.prg and libpq4xb.prg, but few errors occured:
You will need ot4xb ver >= 1.5 , as the libpq4xb.prg require some commands and functions from the new ot4xb
Get the latests ot4xb builds from here:
http://news.xbwin.com/ot4xb.snapshots

Missing libpq4xb.ch.
Get it from here
http://news.xbwin.com/xfree.resources/86/libpq4xb.html

Regards,
Pablo Botella
Re: PostgreSQL

Hi Pablo,

Thx the fast reply, is work!

Regards,

Zoltan Sterner

This message includes the following attachments:

Page 1 of 2 Next >