﻿<rss version="2.0"><channel><title>xfree.public</title><link>http://news.xb2.net/xfree.public</link><description>xfree.public</description><lastBuildDate>Sun, 07 Sep 2008 17:22:10 GMT</lastBuildDate><generator>MPNews http://www.messagepixels.com</generator><ttl>10</ttl><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/22/Re%3a+Hola+Al+Grupo.html</guid><title>Re: Hola Al Grupo</title><pubDate>Wed, 07 May 2008 12:58:29 -0600</pubDate><link>http://news.xb2.net/xfree.public/22/Re%3a+Hola+Al+Grupo.html</link><comments>http://news.xb2.net/xfree.public/22/Re%3a+Hola+Al+Grupo.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Nolberto

We are counting with you

-----------------------------


Contamos contigo Nolberto


Saludos
Osvaldo Ramirez


  Paulino wrote:
&amp;gt; Felicitaciones
&amp;gt; Enhorabuena   les deseo mucho exito , hacia mucha falta un lugar donde 
&amp;gt; se pueda ubicar material , como es lo phil y otros amigos de alaska, que 
&amp;gt; aportado con sus ideas
&amp;gt; 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/22</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/23/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Wed, 7 May 2008 22:41:01 +0200</pubDate><link>http://news.xb2.net/xfree.public/23/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/23/Re%3a+PostgreSQL.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;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(&amp;quot;libpq.dll&amp;quot;) 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&amp;#225;s para estar seguro de cargar libpq.dll del directorio adecuado 
puedes cambiar el init proc en libpq4xb.prg reemplazando  nLoadLibrary(&amp;quot;libpq.dll&amp;quot;) por la ruta completa
de tu directorio postgres /bin o donde hayas ubicado las 9 DLLs necesarias

Saludos,
Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/23</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/24/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 8 May 2008 07:51:19 +0200</pubDate><link>http://news.xb2.net/xfree.public/24/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/24/Re%3a+PostgreSQL.html</comments><author>bielikATstonline.sk@</author><description>&lt;pre&gt;Hi Pablo,
&amp;gt; change the init proc in libpq4xb.prg replacing nLoadLibrary(&amp;quot;libpq.dll&amp;quot;) 
&amp;gt; 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 &amp;quot;database&amp;quot; does not exist

Why? It does exist...


Sbory patriace tomuto databzovmu systmu bud vlastnen uzvatelom
&amp;quot;user_200&amp;quot;. 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 &amp;quot;simple&amp;quot;.

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:

    &amp;quot;f:\pgsql\bin\postgres&amp;quot; -D &amp;quot;f:/pgsql/MyDatabase&amp;quot;
or
    &amp;quot;f:\pgsql\bin\pg_ctl&amp;quot; -D &amp;quot;f:/pgsql/MyDatabase&amp;quot; -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 


&lt;/pre&gt;</description><enclosure url="http://news.xb2.net/xfree.public/24/attachments/0/pg+error02.jpg" length="179439" type="image/jpeg" /><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/24</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/25/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 8 May 2008 12:09:43 -0400</pubDate><link>http://news.xb2.net/xfree.public/25/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/25/Re%3a+PostgreSQL.html</comments><author>hpezoa@telsur.cl</author><description>&lt;pre&gt;Hi Zdeno

Please see
  http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html

Best Regards
Hector

&amp;quot;Zdeno Bielik&amp;quot; &amp;lt;bielik AT stonline.sk&amp;gt; escribi en el mensaje 
news:51aa01c1$4a94495d$a068@news.xbwin.com...
&amp;gt; Hi Pablo,
&amp;gt;&amp;gt; change the init proc in libpq4xb.prg replacing nLoadLibrary(&amp;quot;libpq.dll&amp;quot;) 
&amp;gt;&amp;gt; with the full qualified path
&amp;gt; ok, this was not solution
&amp;gt; it started after I copied all pg's dll from pg bin into windows\system32 
&amp;gt; directory
&amp;gt;
&amp;gt; anyway, now I get this error:
&amp;gt; Conection to database failed: FATAL: database &amp;quot;database&amp;quot; does not exist
&amp;gt;
&amp;gt; Why? It does exist...
&amp;gt;
&amp;gt;
&amp;gt; Sbory patriace tomuto databzovmu systmu bud vlastnen uzvatelom
&amp;gt; &amp;quot;user_200&amp;quot;. Tento uzvatel mus tiez byt vlastnkom procesu servera.
&amp;gt;
&amp;gt; Zoskupenie databz bude inicialozovan s nrodnm nastavenm 
&amp;gt; Slovak_Slovakia.1250.
&amp;gt; Implicitn kdovanie databzy bolo v slade s tm nastaven na WIN1250.
&amp;gt; initdb: could not find suitable text search configuration for locale 
&amp;gt; Slovak_Slovakia.1250
&amp;gt; The default text search configuration will be set to &amp;quot;simple&amp;quot;.
&amp;gt;
&amp;gt; vytvra sa adresr f:/pgsql/MyDatabase ... ok
&amp;gt; creating subdirectories ... ok
&amp;gt; nastavuje sa implicitn hodnota max_connections ... 100
&amp;gt; selecting default shared_buffers/max_fsm_pages ... 32MB/204800
&amp;gt; vytvraj sa konfiguracn sbory ... ok
&amp;gt; vytvra sa databza template1 v f:/pgsql/MyDatabase/base/1 ... ok
&amp;gt; initializing pg_authid ... ok
&amp;gt; initializing dependencies ... ok
&amp;gt; vytvraj sa systmov pohlady ... ok
&amp;gt; loading system objects' descriptions ... ok
&amp;gt; vytvraj sa konverzie ... ok
&amp;gt; creating dictionaries ... ok
&amp;gt; nastavuj sa prvomoci pre zabudovan objekty ... ok
&amp;gt; vytvra sa informacn schma ... ok
&amp;gt; vysva sa databza template1 ... ok
&amp;gt; kopruje sa template1 do template0 ... ok
&amp;gt; copying template1 to postgres ... ok
&amp;gt;
&amp;gt; Success. You can now start the database server using:
&amp;gt;
&amp;gt;    &amp;quot;f:\pgsql\bin\postgres&amp;quot; -D &amp;quot;f:/pgsql/MyDatabase&amp;quot;
&amp;gt; or
&amp;gt;    &amp;quot;f:\pgsql\bin\pg_ctl&amp;quot; -D &amp;quot;f:/pgsql/MyDatabase&amp;quot; -l logfile start
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt; but there was one error or warning message:
&amp;gt; initdb: could not find suitable text search configuration for locale 
&amp;gt; Slovak_Slovakia.1250
&amp;gt; I think, it is not many importnat now(maybe later)... or yes?
&amp;gt;
&amp;gt; Regards
&amp;gt;              Zdeno
&amp;gt;
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/25</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/26/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 8 May 2008 18:15:51 +0200</pubDate><link>http://news.xb2.net/xfree.public/26/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/26/Re%3a+PostgreSQL.html</comments><author>bielikATstonline.sk@</author><description>&lt;pre&gt;H Hector,

&amp;gt; Please see
&amp;gt;  http://pginstaller.projects.postgresql.org/faq/FAQ_windows.html

super, many thanks! I will read it carefully.

             Zdeno&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/26</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/27/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 08 May 2008 10:21:12 -0600</pubDate><link>http://news.xb2.net/xfree.public/27/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/27/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Zdeno Bielik


how do you create the database &amp;quot;database&amp;quot; ?

PostgreSQL is case sensitive.

Best Regards
Osvaldo Ramirez


&amp;gt; anyway, now I get this error:
&amp;gt; Conection to database failed: FATAL: database &amp;quot;database&amp;quot; does not exist
&amp;gt; 
&amp;gt; Why? It does exist...
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/27</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/28/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 08 May 2008 17:34:58 -0600</pubDate><link>http://news.xb2.net/xfree.public/28/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/28/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;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&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/28</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/29/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 16 May 2008 12:48:33 +0200</pubDate><link>http://news.xb2.net/xfree.public/29/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/29/Re%3a+PostgreSQL.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hola Osvaldo

La instalaci&amp;#243;n me ha funcionado bien y tambi&amp;#233;n un ejemplo de la libreria de 
Boris, todo esto trabajando en local.

Tambi&amp;#233;n me instala bien en un 2003 server. He quitado el firewall y el 
antivirus para hacer pruebas. He visto que hab&amp;#237;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&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/29</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/30/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 16 May 2008 10:34:05 -0600</pubDate><link>http://news.xb2.net/xfree.public/30/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/30/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;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:
&amp;gt; Hola Osvaldo
&amp;gt; 
&amp;gt; La instalaci&amp;#243;n me ha funcionado bien y tambi&amp;#233;n un ejemplo de la libreria 
&amp;gt; de Boris, todo esto trabajando en local.
&amp;gt; 
&amp;gt; Tambi&amp;#233;n me instala bien en un 2003 server. He quitado el firewall y el 
&amp;gt; antivirus para hacer pruebas. He visto que hab&amp;#237;a que abrir el puerto 
&amp;gt; 5432 pero supongo que esto es solo cuando tienes el Firewall.
&amp;gt; 
&amp;gt; Para conectar con el desde el cliente (Vista Bussiness) solo cambio el 
&amp;gt; nombre del servidor. Pero aqui me he atascado. He probado a poner la ip 
&amp;gt; del servidor 192.168.1.3, el nombre del servidor tal y como lo veo en 
&amp;gt; pgAdminIII, veo  pg2003(localhost:5432) y en el cliente escribo pg2003.
&amp;gt; 
&amp;gt; Gracias por tu ayuda
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/30</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/31/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 16 May 2008 10:41:05 -0600</pubDate><link>http://news.xb2.net/xfree.public/31/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/31/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose

Actualmente, yo hago mis pruebas desde un windows vista ultimate

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/31</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/32/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 16 May 2008 10:55:28 -0600</pubDate><link>http://news.xb2.net/xfree.public/32/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/32/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose

Ya ahorita precisamente, mi programa de prueba esta corriendo en un 
windows XP  en la misma red local de mi cliente y creo yo que el acceso 
esta excelente.

Anexo mi pantalla

Mira, esto es mi punto.

Usar SQLExpress++ para mis tablas y mantenimientos

Usar ot4xb, para cuando requiero, ciertos procesos donde quiero mas 
rapidez, aun asi, creo que ya los sistemas son en si rapidos, ya 
contamos con mas memoria y mejores procesadores.


Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><enclosure url="http://news.xb2.net/xfree.public/32/attachments/0/jose.jpg" length="201679" type="image/jpeg" /><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/32</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/33/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Sat, 17 May 2008 02:58:39 +0200</pubDate><link>http://news.xb2.net/xfree.public/33/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/33/Re%3a+PostgreSQL.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;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 &amp;quot;PostgreSQL30&amp;quot; y en otro &amp;quot;PostgreSQL ANSI&amp;quot; pero ese ha sido el 
&amp;#250;nico tropiezo.

Estaba a punto de comprar Sqlexpress pero tengo dudas de si ser&amp;#225; mejor 
opcion 'Artica'.

Hasta pronto

Jose Valle






&amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
noticias news:6c5ca45b$20b4827b$86d5@news.xbwin.com...
&amp;gt; Estimado Jose Valle
&amp;gt;
&amp;gt; Precesimanet en la semana, hasta ayer en la noche, puede hacer funcionar 
&amp;gt; el PostgreSQL en un windows 2003 y accesarlo desde cualquier computadora 
&amp;gt; localmente
&amp;gt;
&amp;gt; Te comento que batalle mucho usando el zip y descomprimirlo en el servidor 
&amp;gt; y echarlo andar como servicio.
&amp;gt;
&amp;gt; Bueno, lo que hize :
&amp;gt;
&amp;gt; 1.- Baje un binario que me instalara Postgresql
&amp;gt; 2.- Cuando lo estaba instalando le dije que lo instalara en un folder 
&amp;gt; c:\postgres o c:\pgsql.
&amp;gt; Porque ?, bueno, para no batallar ya que por default lo instala en 
&amp;gt; c:\programs files\postgresql .... etc.etc, asi que se me dificulto via la 
&amp;gt; ventana consola.
&amp;gt;
&amp;gt;
&amp;gt; 3.- La instalacion se debe hacer como un servicio..
&amp;gt; y en esa ventana te va a pedir el usuario y password a crear para windows 
&amp;gt; 2003
&amp;gt;
&amp;gt; Ya que es necesario para un windows 2003, para correr un servicio, es 
&amp;gt; necesario una cuenta y un password, asi que esta ventana para eso se 
&amp;gt; refiere.
&amp;gt;
&amp;gt;
&amp;gt; 4.- Despues de va a pedir la ventana de la creation de la base de datos la 
&amp;gt; cual tambien te va a pedir el superuser y el password, pero ojo
&amp;gt; hay un cuadrito en el cual dice que si vas aceptar todas las conecciones.
&amp;gt; el cual yo palomee.
&amp;gt;
&amp;gt;
&amp;gt; 5.- y listo
&amp;gt;
&amp;gt; ahora el archivo que modifique es este ; pg_hba.conf
&amp;gt; y agrege estas lineas
&amp;gt;
&amp;gt; host all all 192.168.1.0/24 md5
&amp;gt; y resete el servicio.
&amp;gt;
&amp;gt; y listo, ahora lo que quiero es aceptar conecciones desde fuera
&amp;gt; ya que abri el puerto y lo rutee al ip del server.
&amp;gt; Se que me fata, agregar en pg_hba.conf, pero sigo probando.
&amp;gt;
&amp;gt; Dime se te funciona.
&amp;gt;
&amp;gt; Saludos
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;  wrote:
&amp;gt;&amp;gt; Hola Osvaldo
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; La instalaci&amp;#243;n me ha funcionado bien y tambi&amp;#233;n un ejemplo de la libreria 
&amp;gt;&amp;gt; de Boris, todo esto trabajando en local.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Tambi&amp;#233;n me instala bien en un 2003 server. He quitado el firewall y el 
&amp;gt;&amp;gt; antivirus para hacer pruebas. He visto que hab&amp;#237;a que abrir el puerto 5432 
&amp;gt;&amp;gt; pero supongo que esto es solo cuando tienes el Firewall.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Para conectar con el desde el cliente (Vista Bussiness) solo cambio el 
&amp;gt;&amp;gt; nombre del servidor. Pero aqui me he atascado. He probado a poner la ip 
&amp;gt;&amp;gt; del servidor 192.168.1.3, el nombre del servidor tal y como lo veo en 
&amp;gt;&amp;gt; pgAdminIII, veo  pg2003(localhost:5432) y en el cliente escribo pg2003.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Gracias por tu ayuda
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Jose Valle
&amp;gt;&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/33</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/34/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 16 May 2008 07:04:47 -0600</pubDate><link>http://news.xb2.net/xfree.public/34/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/34/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose Valle


No se cuando los osos van a liberar su codigo, codigo que me supongo que 
ya lo tienen trabajando, y no se si lo van a vender a nosotros.
Pero bueno, ese es negocio de ellos.


Actualmente utilizo SQLExpress++ con MySQL, y funciona muy bien, asi que 
ahora el cambio a PostgreSQL creo que va mejor.

Ahora tambien podemos continuar y mejorar ot4xb el cual habla 
direcamente al API de PostgreSQL, y segun se phAdminIII lo hace de la 
misma manera. Asi que creo que ot4xb esta perfecto.


Pero bueno, hay q esperar.

Saludos
Osvaldo Ramirez


  wrote:
&amp;gt; Muchisimas gracias Osvaldo. Todo funciona perfecto.
&amp;gt; 
&amp;gt; Ayer estuve 10 horas instalando y desinstalando y hoy en 10 minutos ya 
&amp;gt; me conecto. Tuve un problema con el nombre del driver en el cliente que 
&amp;gt; en un sitio ponia &amp;quot;PostgreSQL30&amp;quot; y en otro &amp;quot;PostgreSQL ANSI&amp;quot; pero ese ha 
&amp;gt; sido el &amp;#250;nico tropiezo.
&amp;gt; 
&amp;gt; Estaba a punto de comprar Sqlexpress pero tengo dudas de si ser&amp;#225; mejor 
&amp;gt; opcion 'Artica'.
&amp;gt; 
&amp;gt; Hasta pronto
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt; 
&amp;gt; 
&amp;gt; 
&amp;gt; 
&amp;gt; &amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
&amp;gt; noticias news:6c5ca45b$20b4827b$86d5@news.xbwin.com...
&amp;gt;&amp;gt; Estimado Jose Valle
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Precesimanet en la semana, hasta ayer en la noche, puede hacer 
&amp;gt;&amp;gt; funcionar el PostgreSQL en un windows 2003 y accesarlo desde cualquier 
&amp;gt;&amp;gt; computadora localmente
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Te comento que batalle mucho usando el zip y descomprimirlo en el 
&amp;gt;&amp;gt; servidor y echarlo andar como servicio.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Bueno, lo que hize :
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; 1.- Baje un binario que me instalara Postgresql
&amp;gt;&amp;gt; 2.- Cuando lo estaba instalando le dije que lo instalara en un folder 
&amp;gt;&amp;gt; c:\postgres o c:\pgsql.
&amp;gt;&amp;gt; Porque ?, bueno, para no batallar ya que por default lo instala en 
&amp;gt;&amp;gt; c:\programs files\postgresql .... etc.etc, asi que se me dificulto via 
&amp;gt;&amp;gt; la ventana consola.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; 3.- La instalacion se debe hacer como un servicio..
&amp;gt;&amp;gt; y en esa ventana te va a pedir el usuario y password a crear para 
&amp;gt;&amp;gt; windows 2003
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Ya que es necesario para un windows 2003, para correr un servicio, es 
&amp;gt;&amp;gt; necesario una cuenta y un password, asi que esta ventana para eso se 
&amp;gt;&amp;gt; refiere.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; 4.- Despues de va a pedir la ventana de la creation de la base de 
&amp;gt;&amp;gt; datos la cual tambien te va a pedir el superuser y el password, pero ojo
&amp;gt;&amp;gt; hay un cuadrito en el cual dice que si vas aceptar todas las conecciones.
&amp;gt;&amp;gt; el cual yo palomee.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; 5.- y listo
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; ahora el archivo que modifique es este ; pg_hba.conf
&amp;gt;&amp;gt; y agrege estas lineas
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; host all all 192.168.1.0/24 md5
&amp;gt;&amp;gt; y resete el servicio.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; y listo, ahora lo que quiero es aceptar conecciones desde fuera
&amp;gt;&amp;gt; ya que abri el puerto y lo rutee al ip del server.
&amp;gt;&amp;gt; Se que me fata, agregar en pg_hba.conf, pero sigo probando.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Dime se te funciona.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Saludos
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;  wrote:
&amp;gt;&amp;gt;&amp;gt; Hola Osvaldo
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; La instalaci&amp;#243;n me ha funcionado bien y tambi&amp;#233;n un ejemplo de la 
&amp;gt;&amp;gt;&amp;gt; libreria de Boris, todo esto trabajando en local.
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; Tambi&amp;#233;n me instala bien en un 2003 server. He quitado el firewall y 
&amp;gt;&amp;gt;&amp;gt; el antivirus para hacer pruebas. He visto que hab&amp;#237;a que abrir el 
&amp;gt;&amp;gt;&amp;gt; puerto 5432 pero supongo que esto es solo cuando tienes el Firewall.
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; Para conectar con el desde el cliente (Vista Bussiness) solo cambio 
&amp;gt;&amp;gt;&amp;gt; el nombre del servidor. Pero aqui me he atascado. He probado a poner 
&amp;gt;&amp;gt;&amp;gt; la ip del servidor 192.168.1.3, el nombre del servidor tal y como lo 
&amp;gt;&amp;gt;&amp;gt; veo en pgAdminIII, veo  pg2003(localhost:5432) y en el cliente 
&amp;gt;&amp;gt;&amp;gt; escribo pg2003.
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; Gracias por tu ayuda
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; Jose Valle
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/34</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/35/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Sat, 17 May 2008 17:38:43 +0200</pubDate><link>http://news.xb2.net/xfree.public/35/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/35/Re%3a+PostgreSQL.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hola Jose,

&amp;gt; Estaba a punto de comprar Sqlexpress pero tengo dudas de si ser&amp;#225; mejor 
&amp;gt; opcion 'Artica'.

Cuando Alaska saque su V 2.0 de Xbase++ ser&amp;#225; muy bonito poder usar SQL directamente en tus PRGs, ya que el preprocesador de Xbase++ lo va a gestionar autom&amp;#225;ticamente. 

Ahora bien la filosof&amp;#237;a es la misma que en  ODBCDBE solo que con algunas ventajas adicionales especialpente para postgres, ya que le han a&amp;#241;adido un gateway para poder Xbase++ como lenguaje procedural, la desventaja es que solo vas a aprovechar un % de lo que te ofrece la programaci&amp;#243;n SQL.

Con SQLExpress tienes las herramientas para poder hacer lo mismo que podr&amp;#237;as hacer en VB o C++ usando ODBC. 

Asi que para ayudarte a decidir hazte la siguiente pregunta, ODBCDBE me sirve para hacer lo que necesito?

Si, me sobra -&amp;gt;  Pues entonces empieza hoy con ODBCDBE  y cuando salga la V 2.0 pues sigues por el mismo camino.

No,  hay cosas que me gustar&amp;#237;a hacer y no puedo. Entonces compra SQLExpress y usalo ya. Cuando salga la V 2.0 de Xbase++ si funciona bien puedes seguir usando SQLExpress en el cliente y empezar a meter stored procedures en el server con Xbase++

Ahora bien si lo que quieres es hacer una aplicaci&amp;#243;n con salida web usando xb2net por ejemplo, entonces no vas a necesitar cursores, ah&amp;#237; lo suyo ser&amp;#237;a hacer consultas limitando numero de records y replaces dentro de una transacci&amp;#243;n, y para eso con aprender a usar cuatro funcioncitas del libpq.dll te sobra, te ahorras hasta el driver ODBC, y repito lo dicho antes cuando salga Xbase++ 2.0 sigues teniendo opci&amp;#243;n de agregar stored procedures en Xbase++ en el server sin tener que cambiar el codigo en el cliente.

Saludos,
Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/35</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/38/necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</guid><title>necesito conectarme a postgresql sin utilizar ODBCDEB</title><pubDate>Sun, 18 May 2008 02:25:00 -0700</pubDate><link>http://news.xb2.net/xfree.public/38/necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</link><comments>http://news.xb2.net/xfree.public/38/necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</comments><author>RamonDesantis@</author><description>necesito conectarme a postgresql sin utilizar ODBCDEB</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/38</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/39/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</guid><title>Re: necesito conectarme a postgresql sin utilizar ODBCDEB</title><pubDate>Sun, 18 May 2008 11:58:01 +0200</pubDate><link>http://news.xb2.net/xfree.public/39/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</link><comments>http://news.xb2.net/xfree.public/39/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hola,

&amp;gt;necesito conectarme a postgresql sin utilizar ODBCDEB

Ahi tienes el enlace a un test que puso Osvaldo usando libpq y un peque&amp;#241;o wrapper que le hice usando mi ot4xb.dll
http://news.xbwin.com/xfree.public/11/attachments/0/test.prg

Aqu&amp;#237; est&amp;#225; el wrapper
http://news.xbwin.com/xfree.public/11/attachments/1/libpq4xb.prg

y aqui el ultimo build que he publicado del ot4xb
http://news.xbwin.com/xfree.resources/38/attachments/0/ot4xb.zip

Junto con tu aplicaci&amp;#243;n debes distribuir las siguientes DLLs
libpq.dll
comerr32.dll
gssapi32.dll
k5sprt32.dll
krb5_32.dll
libeay32.dll
libiconv2.dll
libintl3.dll
ssleay32.dll

El wrapper est&amp;#225; basado en la version 8.3 de postgress y la idea es acceder directamente a las funciones lo m&amp;#225;s parecido posible a como est&amp;#225;n documentadas. Tambien tienes definidas todas las estructuras necesarias para usar estas funciones.

Durante las proximas semanas iremos preparando un paquete para incluirlo en xfree.resources, incluyendo algunos ejemplos y un tutorial que anda preparando Osvaldo. Tambien pondr&amp;#233; algun ejemplo usando PQexecParams() junto con Array2ppMarshall() del ot4xb que est&amp;#225; especialmente pensada para usar con PQexecParams() y facilita mucho las cosas.
 
Bueno espero que te sirva de ayuda para comenzar.

Saludos,
Pablo Botella
www.xbwin.com&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/39</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/40/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</guid><title>Re: necesito conectarme a postgresql sin utilizar ODBCDEB</title><pubDate>Sun, 18 May 2008 13:28:59 -0600</pubDate><link>http://news.xb2.net/xfree.public/40/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</link><comments>http://news.xb2.net/xfree.public/40/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDEB.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Ramon

Bueno, logico que lo vas a usar con Xbase++
asi que no hay muchas sopas, solo una ... ot4xb.lib

Prueba lo que Pablo te dice, y poco a poco
vemos como darle mas sabor a esto.

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/40</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/41/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Mon, 26 May 2008 09:23:53 -0600</pubDate><link>http://news.xb2.net/xfree.public/41/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/41/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Amigos

Vale la pena la lectura

http://www.pgcon.org/2008/schedule/attachments/51_xpp-meets-postgresql.pdf

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/41</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/42/Como+puedo+enviar+correos+desde+xBase..html</guid><title>Como puedo enviar correos desde xBase.</title><pubDate>Thu, 29 May 2008 06:09:56 -0700</pubDate><link>http://news.xb2.net/xfree.public/42/Como+puedo+enviar+correos+desde+xBase..html</link><comments>http://news.xb2.net/xfree.public/42/Como+puedo+enviar+correos+desde+xBase..html</comments><author>digitsoft26@hotmail.com</author><description>&lt;br /&gt;Hola Al Grupo&lt;br /&gt;Necesito enviar correos desde xBase&lt;br /&gt;&lt;br /&gt;Nolberto Paulino&lt;br /&gt;&lt;span style="font-weight: bold; background-color: rgb(0, 48, 255);"&gt;&amp;nbsp; digitsoft26@hotmail.com&lt;/span&gt;&lt;br style="font-weight: bold; background-color: rgb(0, 48, 255);" /&gt;&lt;span style="font-weight: bold; background-color: rgb(0, 48, 255);"&gt;&amp;nbsp; digitsoft26@yahoo.com&lt;/span&gt;&lt;br style="font-weight: bold; background-color: rgb(0, 48, 255);" /&gt;&lt;span style="font-weight: bold; background-color: rgb(0, 48, 255);"&gt;&amp;nbsp; digitsoft26@gmail.com&lt;/span&gt;&lt;br style="font-weight: bold;" /&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/42</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/43/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</guid><title>Re: Como puedo enviar correos desde xBase.</title><pubDate>Thu, 29 May 2008 08:06:36 -0600</pubDate><link>http://news.xb2.net/xfree.public/43/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</link><comments>http://news.xb2.net/xfree.public/43/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Nolberto

Yo uso marshallsoft see4xb.dll, el cual me ha funcionado bien.
Ahora, en su momento utilize unas llamadas a dll para que pusiera
dicho correo en la bandeja de outlook express, y este lo mandara.

Debera haber otras utilerias, pero no las he manejado.

Saludos
Osvaldo Ramirez


  Paulino wrote:
&amp;gt; 
&amp;gt; Hola Al Grupo
&amp;gt; Necesito enviar correos desde xBase
&amp;gt; 
&amp;gt; Nolberto Paulino
&amp;gt;   digitsoft26@hotmail.com
&amp;gt;   digitsoft26@yahoo.com
&amp;gt;   digitsoft26@gmail.com&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/43</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/44/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</guid><title>Re: Como puedo enviar correos desde xBase.</title><pubDate>Thu, 29 May 2008 18:04:08 +0200</pubDate><link>http://news.xb2.net/xfree.public/44/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</link><comments>http://news.xb2.net/xfree.public/44/Re%3a+Como+puedo+enviar+correos+desde+xBase..html</comments><author>jomagava@gmail.com</author><description>
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Hola, yo uso hace años Socmapi3, lo puedes 
descargar de la web de Alaska. Envia los mail a Outlook.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;A 
href="http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=WebLib&amp;amp;WAA_FORM=ListFiles&amp;amp;WEBLIB_SECT=12"&gt;http://www.alaska-software.com/scripts/waa001.dll?WAA_PACKAGE=WebLib&amp;amp;WAA_FORM=ListFiles&amp;amp;WEBLIB_SECT=12&lt;/A&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;Tambien uso Fastrepots para enviar mails, en este 
caso los envia directamente.&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&gt;
  &lt;DIV&gt;"Nolberto Paulino" &amp;lt;&lt;A 
  href="mailto:digitsoft26@hotmail.com"&gt;digitsoft26@hotmail.com&lt;/A&gt;&amp;gt; escribió 
  en el mensaje de noticias &lt;A 
  href="news:37f8986c$3d0d1d8b$a702@news.xbwin.com"&gt;news:37f8986c$3d0d1d8b$a702@news.xbwin.com&lt;/A&gt;...&lt;/DIV&gt;&lt;BR&gt;Hola 
  Al Grupo&lt;BR&gt;Necesito enviar correos desde xBase&lt;BR&gt;&lt;BR&gt;Nolberto 
  Paulino&lt;BR&gt;&lt;SPAN 
  style="FONT-WEIGHT: bold; BACKGROUND-COLOR: rgb(0,48,255)"&gt;&amp;nbsp; 
  digitsoft26@hotmail.com&lt;/SPAN&gt;&lt;BR 
  style="FONT-WEIGHT: bold; BACKGROUND-COLOR: rgb(0,48,255)"&gt;&lt;SPAN 
  style="FONT-WEIGHT: bold; BACKGROUND-COLOR: rgb(0,48,255)"&gt;&amp;nbsp; 
  digitsoft26@yahoo.com&lt;/SPAN&gt;&lt;BR 
  style="FONT-WEIGHT: bold; BACKGROUND-COLOR: rgb(0,48,255)"&gt;&lt;SPAN 
  style="FONT-WEIGHT: bold; BACKGROUND-COLOR: rgb(0,48,255)"&gt;&amp;nbsp; 
  digitsoft26@gmail.com&lt;/SPAN&gt;&lt;BR 
style="FONT-WEIGHT: bold"&gt;&lt;/BLOCKQUOTE&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/44</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/45/Consulta+Postgree+Sql.html</guid><title>Consulta Postgree Sql</title><pubDate>Mon, 2 Jun 2008 17:33:51 +0200</pubDate><link>http://news.xb2.net/xfree.public/45/Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/45/Consulta+Postgree+Sql.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hola:  Estoy empezando con PostgreSql.  Pgadmin3 me ha ayudado mucho a 
entender sql. Tengo la impresi&amp;#243;n de que adem&amp;#225;s de fiabilidad vamos a ganar 
claridad en nuestras aplicaciones.

En mi aplicacion contable, en el fichero de asientos, tengo las columnas 
'cuenta','debehaber','importe'

para calcular un balance de sumas y saldos a una fecha puedo usar (casi)

SELECT cuenta, sum(importe) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; + 
DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)

pero tengo un problema. en vez de sum(importe) querria poner 
sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe))

&amp;#191;Sab&amp;#233;is como se puede hacer eso?

por cierto que estoy sorprendidisimo con la velocidad que devuelve 
resultados, con 1530 cuentas y 75640 apuntes me tarda 1 segundo, lo mismo 
para el saldo de una cuenta a una fecha que de todas las cuentas. Con dbf me 
tardaba 6 segundos en local y 200 segundos en 2003 server.

Con esto doy por bueno el consejo de no guardar datos acumulados (saldos de 
cuenta, stocks de art&amp;#237;culos, etc)


Hasta pronto

Jose Valle&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/45</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/46/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 02 Jun 2008 12:08:33 -0600</pubDate><link>http://news.xb2.net/xfree.public/46/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/46/Re%3a+Consulta+Postgree+Sql.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose Valle

Te comento yo estoy apenas en la parte de los browses, e igual que tu
veo muy bien los resultados usando ODBC con SQLExpress++.

No me se la respuesta, pero igual voy a investigar.
Lo que he visto y tengo que analizar es que usando SQLExpress++ los 
campos integer me los devuelve tipo &amp;quot;Caracter&amp;quot;, aun no he puesto el 
ejemplo en el foro de Boriz, pero en cuanto tenga un test, lo pongo.

Ahora has visto las funciones q trae integradas PostgreSQL ?
A lo mejor ahi hay para hacer condiciones...

Saludos
Osvaldo Ramirez


wrote:
&amp;gt; Hola:  Estoy empezando con PostgreSql.  Pgadmin3 me ha ayudado mucho a 
&amp;gt; entender sql. Tengo la impresi&amp;#243;n de que adem&amp;#225;s de fiabilidad vamos a 
&amp;gt; ganar claridad en nuestras aplicaciones.
&amp;gt; 
&amp;gt; En mi aplicacion contable, en el fichero de asientos, tengo las columnas 
&amp;gt; 'cuenta','debehaber','importe'
&amp;gt; 
&amp;gt; para calcular un balance de sumas y saldos a una fecha puedo usar (casi)
&amp;gt; 
&amp;gt; SELECT cuenta, sum(importe) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; + 
&amp;gt; DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)
&amp;gt; 
&amp;gt; pero tengo un problema. en vez de sum(importe) querria poner 
&amp;gt; sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe))
&amp;gt; 
&amp;gt; &amp;#191;Sab&amp;#233;is como se puede hacer eso?
&amp;gt; 
&amp;gt; por cierto que estoy sorprendidisimo con la velocidad que devuelve 
&amp;gt; resultados, con 1530 cuentas y 75640 apuntes me tarda 1 segundo, lo 
&amp;gt; mismo para el saldo de una cuenta a una fecha que de todas las cuentas. 
&amp;gt; Con dbf me tardaba 6 segundos en local y 200 segundos en 2003 server.
&amp;gt; 
&amp;gt; Con esto doy por bueno el consejo de no guardar datos acumulados (saldos 
&amp;gt; de cuenta, stocks de art&amp;#237;culos, etc)
&amp;gt; 
&amp;gt; 
&amp;gt; Hasta pronto
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/46</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/47/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 02 Jun 2008 12:15:58 -0600</pubDate><link>http://news.xb2.net/xfree.public/47/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/47/Re%3a+Consulta+Postgree+Sql.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose Valle

Tienes FastReport for Xbase++ ?
Si, si, has probado el uso de select y ver reportes en este ?

Saludos
Osvaldo Ramirez

  wrote:
&amp;gt; Hola:  Estoy empezando con PostgreSql.  Pgadmin3 me ha ayudado mucho a 
&amp;gt; entender sql. Tengo la impresi&amp;#243;n de que adem&amp;#225;s de fiabilidad vamos a 
&amp;gt; ganar claridad en nuestras aplicaciones.
&amp;gt; 
&amp;gt; En mi aplicacion contable, en el fichero de asientos, tengo las columnas 
&amp;gt; 'cuenta','debehaber','importe'
&amp;gt; 
&amp;gt; para calcular un balance de sumas y saldos a una fecha puedo usar (casi)
&amp;gt; 
&amp;gt; SELECT cuenta, sum(importe) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; + 
&amp;gt; DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)
&amp;gt; 
&amp;gt; pero tengo un problema. en vez de sum(importe) querria poner 
&amp;gt; sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe))
&amp;gt; 
&amp;gt; &amp;#191;Sab&amp;#233;is como se puede hacer eso?
&amp;gt; 
&amp;gt; por cierto que estoy sorprendidisimo con la velocidad que devuelve 
&amp;gt; resultados, con 1530 cuentas y 75640 apuntes me tarda 1 segundo, lo 
&amp;gt; mismo para el saldo de una cuenta a una fecha que de todas las cuentas. 
&amp;gt; Con dbf me tardaba 6 segundos en local y 200 segundos en 2003 server.
&amp;gt; 
&amp;gt; Con esto doy por bueno el consejo de no guardar datos acumulados (saldos 
&amp;gt; de cuenta, stocks de art&amp;#237;culos, etc)
&amp;gt; 
&amp;gt; 
&amp;gt; Hasta pronto
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/47</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/48/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 2 Jun 2008 20:45:00 +0200</pubDate><link>http://news.xb2.net/xfree.public/48/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/48/Re%3a+Consulta+Postgree+Sql.html</comments><author>bielikATstonline.sk@</author><description>&lt;pre&gt;Hi all,

just one question: are news groups in news.xbwin.com
&amp;quot;international&amp;quot; or &amp;quot;spanish&amp;quot; speaking/writing?
It looks, here are(and will be step-by-step)
already many usefull informations,
but it is very time-consuming for me
translate almost message to english
or to my national language...
Pablo Botella is in &amp;quot;dual&amp;quot; mode, but many others not...

       Zdeno&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/48</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/49/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 02 Jun 2008 13:31:23 -0600</pubDate><link>http://news.xb2.net/xfree.public/49/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/49/Re%3a+Consulta+Postgree+Sql.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Zdeno Bielik

I am very sorry,
I forgot to try, at least translate the question .and. answer.

We dont want to exclude people that write or speak english, but
some times, when some of us, ask in spanish, answer in spanish.


But, follow the topic.

Jose ask :

Is there a way to do this :

SELECT cuenta, sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe)) AS saldo  FROM 
apuntes WHERE fecha &amp;lt;= '&amp;quot; + DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY 
cuenta ASC&amp;quot;)

And I said, that I dont know, but we need to investigate if PostgreSQL 
has a function like &amp;quot;iif&amp;quot;.

....

And my question was if he has a Fast Report if yes, if he has been 
testing FastReport for Xbase++ using Postgresql.

Again, I am sorry, and will kept in mind to try to traslate or response 
  in &amp;quot;dual&amp;quot; mode.

Best Regards
Osvaldo Ramirez




  - ACE System wrote:
&amp;gt; Hi all,
&amp;gt; 
&amp;gt; just one question: are news groups in news.xbwin.com
&amp;gt; &amp;quot;international&amp;quot; or &amp;quot;spanish&amp;quot; speaking/writing?
&amp;gt; It looks, here are(and will be step-by-step)
&amp;gt; already many usefull informations,
&amp;gt; but it is very time-consuming for me
&amp;gt; translate almost message to english
&amp;gt; or to my national language...
&amp;gt; Pablo Botella is in &amp;quot;dual&amp;quot; mode, but many others not...
&amp;gt; 
&amp;gt;        Zdeno
&amp;gt; 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/49</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/50/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 2 Jun 2008 22:33:43 +0200</pubDate><link>http://news.xb2.net/xfree.public/50/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/50/Re%3a+Consulta+Postgree+Sql.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hi,

&amp;gt; just one question: are news groups in news.xbwin.com
&amp;gt; &amp;quot;international&amp;quot; or &amp;quot;spanish&amp;quot; speaking/writing?
Good question.

I was hosting initially in this NS the groups ot4xb,sqlexpress,xb2net from years was international and everybody writes in english.

When Osvaldo and Hector was proposed me to include also the xfree.* groups in my server, I was think will be usefull to have a readonly secion of resources and of course in xfree.resources all the content MUST be in ENGLISH in the benefit of the entire Xbase++ comunity

Also will be nice that content in xfree.public will be in english, but the english language is hard to some spanish speakers, and also the original xfree groups in yahoo was in spanish so I think think we can tolerate some spanish incursions here, Osvaldo, Jose Luis and me will try to translate to english at least the most relevant messages, and in the worst case mature projects will be published in english in xfree.resources

Regards,
Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/50</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/51/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Tue, 3 Jun 2008 01:12:46 +0200</pubDate><link>http://news.xb2.net/xfree.public/51/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/51/Re%3a+Consulta+Postgree+Sql.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;I will also write in English ( or something like that)



&amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
noticias news:5dfbd283$5cb0a00f$a70b@news.xbwin.com...
&amp;gt; Dear Zdeno Bielik
&amp;gt;
&amp;gt; I am very sorry,
&amp;gt; I forgot to try, at least translate the question .and. answer.
&amp;gt;
&amp;gt; We dont want to exclude people that write or speak english, but
&amp;gt; some times, when some of us, ask in spanish, answer in spanish.
&amp;gt;
&amp;gt;
&amp;gt; But, follow the topic.
&amp;gt;
&amp;gt; Jose ask :
&amp;gt;
&amp;gt; Is there a way to do this :
&amp;gt;
&amp;gt; SELECT cuenta, sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe)) AS saldo  FROM 
&amp;gt; apuntes WHERE fecha &amp;lt;= '&amp;quot; + DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY 
&amp;gt; cuenta ASC&amp;quot;)
&amp;gt;
&amp;gt; And I said, that I dont know, but we need to investigate if PostgreSQL has 
&amp;gt; a function like &amp;quot;iif&amp;quot;.
&amp;gt;
&amp;gt; ....
&amp;gt;
&amp;gt; And my question was if he has a Fast Report if yes, if he has been testing 
&amp;gt; FastReport for Xbase++ using Postgresql.
&amp;gt;
&amp;gt; Again, I am sorry, and will kept in mind to try to traslate or response in 
&amp;gt; &amp;quot;dual&amp;quot; mode.
&amp;gt;
&amp;gt; Best Regards
&amp;gt; Osvaldo Ramirez
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;
&amp;gt;  - ACE System wrote:
&amp;gt;&amp;gt; Hi all,
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; just one question: are news groups in news.xbwin.com
&amp;gt;&amp;gt; &amp;quot;international&amp;quot; or &amp;quot;spanish&amp;quot; speaking/writing?
&amp;gt;&amp;gt; It looks, here are(and will be step-by-step)
&amp;gt;&amp;gt; already many usefull informations,
&amp;gt;&amp;gt; but it is very time-consuming for me
&amp;gt;&amp;gt; translate almost message to english
&amp;gt;&amp;gt; or to my national language...
&amp;gt;&amp;gt; Pablo Botella is in &amp;quot;dual&amp;quot; mode, but many others not...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;        Zdeno
&amp;gt;&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/51</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/52/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Mon, 02 Jun 2008 22:06:58 -0200</pubDate><link>http://news.xb2.net/xfree.public/52/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/52/Re%3a+Consulta+Postgree+Sql.html</comments><author>amigosam@adinet.com.uy</author><description>&lt;pre&gt;Jose Valle escribi&amp;#243;:
&amp;gt; Hola:  Estoy empezando con PostgreSql.  Pgadmin3 me ha ayudado mucho a 
&amp;gt; entender sql. Tengo la impresi&amp;#243;n de que adem&amp;#225;s de fiabilidad vamos a 
&amp;gt; ganar claridad en nuestras aplicaciones.
&amp;gt; 
&amp;gt; En mi aplicacion contable, en el fichero de asientos, tengo las columnas 
&amp;gt; 'cuenta','debehaber','importe'
&amp;gt; 
&amp;gt; para calcular un balance de sumas y saldos a una fecha puedo usar (casi)
&amp;gt; 
&amp;gt; SELECT cuenta, sum(importe) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; + 
&amp;gt; DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)
&amp;gt; 
&amp;gt; pero tengo un problema. en vez de sum(importe) querria poner 
&amp;gt; sum(iif(debehaber=&amp;quot;D&amp;quot;,importe,-importe))
&amp;gt; 
&amp;gt; &amp;#191;Sab&amp;#233;is como se puede hacer eso?
&amp;gt; 
&amp;gt; por cierto que estoy sorprendidisimo con la velocidad que devuelve 
&amp;gt; resultados, con 1530 cuentas y 75640 apuntes me tarda 1 segundo, lo 
&amp;gt; mismo para el saldo de una cuenta a una fecha que de todas las cuentas. 
&amp;gt; Con dbf me tardaba 6 segundos en local y 200 segundos en 2003 server.
&amp;gt; 
&amp;gt; Con esto doy por bueno el consejo de no guardar datos acumulados (saldos 
&amp;gt; de cuenta, stocks de art&amp;#237;culos, etc)
&amp;gt; 
&amp;gt; 
&amp;gt; Hasta pronto
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt; 

Jose:

Tal vez esto te pueda ayudar...
Maybe this can help you...

http://www.postgresql.org/docs/8.3/interactive/functions-conditional.html#AEN14417


Saludos
Angel&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/52</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/53/Condicional+expresions+in+sql.html</guid><title>Condicional expresions in sql</title><pubDate>Tue, 3 Jun 2008 05:24:20 +0200</pubDate><link>http://news.xb2.net/xfree.public/53/Condicional+expresions+in+sql.html</link><comments>http://news.xb2.net/xfree.public/53/Condicional+expresions+in+sql.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;&amp;gt; Tal vez esto te pueda ayudar...
&amp;gt; Maybe this can help you...
&amp;gt;
&amp;gt; http://www.postgresql.org/docs/8.3/interactive/functions-conditional.html#AEN14417

Thanks very much Angel. It works perfect

In pgadmin:

SELECT cuenta, sum(CASE WHEN debehaber='D' THEN importe ELSE -importe END) 
FROM apuntes group by cuenta order by cuenta ;

in sqlexpress

oCursor := oConn:Cursor(&amp;quot;SELECT cuenta, sum( CASE WHEN debehaber='D' THEN 
importe ELSE -importe END) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; + 
DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)

But It is very, very fast.

Another question: will you move to sql?

Regards&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/53</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/54/Re%3a+Consulta+Postgree+Sql.html</guid><title>Re: Consulta Postgree Sql</title><pubDate>Tue, 3 Jun 2008 09:11:32 +0200</pubDate><link>http://news.xb2.net/xfree.public/54/Re%3a+Consulta+Postgree+Sql.html</link><comments>http://news.xb2.net/xfree.public/54/Re%3a+Consulta+Postgree+Sql.html</comments><author>chris@aboservice.be</author><description>&lt;pre&gt;Hi,

Thanks for the translations. English is also not my mature language, but
Spanish is unreadable for me.

Regards,
Chris Andries



&amp;quot;Pablo Botella&amp;quot; &amp;lt;pbn_NOSPAM_@pablob.com&amp;gt; wrote in message
news:7e838548$2b147270$a714@news.xbwin.com...
&amp;gt; Hi,
&amp;gt;
&amp;gt; &amp;gt; just one question: are news groups in news.xbwin.com
&amp;gt; &amp;gt; &amp;quot;international&amp;quot; or &amp;quot;spanish&amp;quot; speaking/writing?
&amp;gt; Good question.
&amp;gt;
&amp;gt; I was hosting initially in this NS the groups ot4xb,sqlexpress,xb2net from
years was international and everybody writes in english.
&amp;gt;
&amp;gt; When Osvaldo and Hector was proposed me to include also the xfree.* groups
in my server, I was think will be usefull to have a readonly secion of
resources and of course in xfree.resources all the content MUST be in
ENGLISH in the benefit of the entire Xbase++ comunity
&amp;gt;
&amp;gt; Also will be nice that content in xfree.public will be in english, but the
english language is hard to some spanish speakers, and also the original
xfree groups in yahoo was in spanish so I think think we can tolerate some
spanish incursions here, Osvaldo, Jose Luis and me will try to translate to
english at least the most relevant messages, and in the worst case mature
projects will be published in english in xfree.resources
&amp;gt;
&amp;gt; Regards,
&amp;gt; Pablo Botella
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/54</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/55/Text+serch+in+postgree.html</guid><title>Text serch in postgree</title><pubDate>Tue, 3 Jun 2008 17:38:07 +0200</pubDate><link>http://news.xb2.net/xfree.public/55/Text+serch+in+postgree.html</link><comments>http://news.xb2.net/xfree.public/55/Text+serch+in+postgree.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hello.

I need to search for 2 strings of text in 'descripcion' column. With this it 
almost works

oCursor := oConn:Cursor(&amp;quot;SELECT cuenta,descripcion,importe  FROM apuntes 
WHERE descripcion ILIKE '%&amp;quot; + MCAD +&amp;quot;%&amp;quot; + MCAD2 +&amp;quot;% ' &amp;quot;)  //

Only a problem with the order.

If I have in 'descripcion'  &amp;quot;pago correspondiente al recibo 2332&amp;quot;

    -&amp;gt;it works if I search for 'pago' and 'recibo'
    -&amp;gt;doesn&amp;#180;t work if search for  'recibo' and 'pago'

(I am still suprised with the speed, this in xbase++ will spend minutes with 
76000 records and here less than a second)&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/55</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/56/Array.html</guid><title>Array</title><pubDate>Tue, 03 Jun 2008 14:54:35 -0600</pubDate><link>http://news.xb2.net/xfree.public/56/Array.html</link><comments>http://news.xb2.net/xfree.public/56/Array.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Hola a todos,

necesito saber si un arreglo tiene mas de 3 elemento iguales en su valor.

Alguien sabe de alguna funcion.

De antemano muchas gracias

-----------------

Hi,

I need to know if some array has more than 3 equals elements ...

Some one has o know a function ?

Thanks in advance
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/56</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/57/Post+to+news.alaska-software.com.html</guid><title>Post to news.alaska-software.com</title><pubDate>Tue, 3 Jun 2008 21:04:05 +0200</pubDate><link>http://news.xb2.net/xfree.public/57/Post+to+news.alaska-software.com.html</link><comments>http://news.xb2.net/xfree.public/57/Post+to+news.alaska-software.com.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hello

With Microsoft Mail, in vista bussines 64 I can post to news.xbwin.com and 
to newsgroups.fast-report.com  but not to news.alaska-software.com

Any configurations changes?

Thanks for your help.

--
Hola. &amp;#191;Sab&amp;#233;is si ha cambiado algo la configuracion de las news de Alaska?

Jose Valle&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/57</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/58/Re%3a+Post+to+news.alaska-software.com.html</guid><title>Re: Post to news.alaska-software.com</title><pubDate>Tue, 03 Jun 2008 15:38:00 -0600</pubDate><link>http://news.xb2.net/xfree.public/58/Re%3a+Post+to+news.alaska-software.com.html</link><comments>http://news.xb2.net/xfree.public/58/Re%3a+Post+to+news.alaska-software.com.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Jose Valle

You need a username and password, I thing is &amp;quot;guest&amp;quot;

Regards
Osvaldo Ramirez

&amp;gt; Hello
&amp;gt; 
&amp;gt; With Microsoft Mail, in vista bussines 64 I can post to news.xbwin.com 
&amp;gt; and to newsgroups.fast-report.com  but not to news.alaska-software.com
&amp;gt; 
&amp;gt; Any configurations changes?
&amp;gt; 
&amp;gt; Thanks for your help.
&amp;gt; 
&amp;gt; -- 
&amp;gt; Hola. &amp;#191;Sab&amp;#233;is si ha cambiado algo la configuracion de las news de Alaska?
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt; 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/58</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/59/Re%3a+Array.html</guid><title>Re: Array</title><pubDate>Tue, 03 Jun 2008 15:38:44 -0600</pubDate><link>http://news.xb2.net/xfree.public/59/Re%3a+Array.html</link><comments>http://news.xb2.net/xfree.public/59/Re%3a+Array.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Osvaldo Ramirez

I wrote this function especialy for you ....

function MasDeTresIguales( aArray )
* Begin
   local aConta := {} , i , a
   local nContador , nReturn := 0
   ASort( aArray,,, {|aX,aY| aX[1] &amp;gt; aY[1] } )
   for i := 1 to len( aArray )
     xValue := aArray[i]
     ncontador := 0
     for x := 1 to len( aArray )
       if a[x] = xvalue
          nContador ++
       endif
     next
     aadd( aConta , { xValue , nContador })
   next

   if len( aConta  ) &amp;gt; 0
     ASort( aConta,,, {|aX,aY| aX[2] &amp;gt; aY[2] } )

     if aConta[1][2] &amp;gt; 3
       nReturn := aConta[1][1]
     endif
   endif

return nReturn


  wrote:
&amp;gt; Hola a todos,
&amp;gt; 
&amp;gt; necesito saber si un arreglo tiene mas de 3 elemento iguales en su valor.
&amp;gt; 
&amp;gt; Alguien sabe de alguna funcion.
&amp;gt; 
&amp;gt; De antemano muchas gracias
&amp;gt; 
&amp;gt; -----------------
&amp;gt; 
&amp;gt; Hi,
&amp;gt; 
&amp;gt; I need to know if some array has more than 3 equals elements ...
&amp;gt; 
&amp;gt; Some one has o know a function ?
&amp;gt; 
&amp;gt; Thanks in advance
&amp;gt; Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/59</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/60/Re%3a+Post+to+news.alaska-software.com.html</guid><title>Re: Post to news.alaska-software.com</title><pubDate>Tue, 3 Jun 2008 21:10:45 +0200</pubDate><link>http://news.xb2.net/xfree.public/60/Re%3a+Post+to+news.alaska-software.com.html</link><comments>http://news.xb2.net/xfree.public/60/Re%3a+Post+to+news.alaska-software.com.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;That is!,

Thanks Osvaldo


&amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
noticias news:8d076e9$57e99994$a71c@news.xbwin.com...
&amp;gt; Dear Jose Valle
&amp;gt;
&amp;gt; You need a username and password, I thing is &amp;quot;guest&amp;quot;
&amp;gt;
&amp;gt; Regards
&amp;gt; Osvaldo Ramirez
&amp;gt;
&amp;gt;&amp;gt; Hello
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; With Microsoft Mail, in vista bussines 64 I can post to news.xbwin.com 
&amp;gt;&amp;gt; and to newsgroups.fast-report.com  but not to news.alaska-software.com
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Any configurations changes?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Thanks for your help.
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; -- 
&amp;gt;&amp;gt; Hola. &amp;#191;Sab&amp;#233;is si ha cambiado algo la configuracion de las news de Alaska?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Jose Valle
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/60</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/61/Re%3a+Text+serch+in+postgree.html</guid><title>Re: Text serch in postgree</title><pubDate>Tue, 03 Jun 2008 15:46:42 -0600</pubDate><link>http://news.xb2.net/xfree.public/61/Re%3a+Text+serch+in+postgree.html</link><comments>http://news.xb2.net/xfree.public/61/Re%3a+Text+serch+in+postgree.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Jose Valle


If you put this


  oCursor := oConn:Cursor(&amp;quot;SELECT cuenta,descripcion,importe  FROM apuntes
  WHERE descripcion ILIKE '%&amp;quot; + MCAD +&amp;quot;%&amp;quot; + MCAD2 +&amp;quot;% ' '%&amp;quot; + MCAD2 +&amp;quot;%&amp;quot; 
+ MCAD +&amp;quot;% ' &amp;quot;  )

Maybe it work

Regards
Osvaldo Ramirez


-----------

Y si lo pones al revez, ?&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/61</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/62/Re%3a+Text+serch+in+postgree.html</guid><title>Re: Text serch in postgree</title><pubDate>Wed, 4 Jun 2008 05:07:39 +0200</pubDate><link>http://news.xb2.net/xfree.public/62/Re%3a+Text+serch+in+postgree.html</link><comments>http://news.xb2.net/xfree.public/62/Re%3a+Text+serch+in+postgree.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hola Osvaldo:

This works, I will look for a better (cleaner) solution.
oCursor := oConn:Cursor(&amp;quot;SELECT cuenta,descripcion,importe  FROM apuntes 
WHERE descripcion ILIKE '%&amp;quot; + MCAD +&amp;quot;%&amp;quot; + MCAD2 +&amp;quot;% ' OR descripcion ILIKE 
'%&amp;quot; + MCAD2 +&amp;quot;%&amp;quot; + MCAD +&amp;quot;% ' &amp;quot;)  //&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/62</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/63/Re%3a+Condicional+expresions+in+sql.html</guid><title>Re: Condicional expresions in sql</title><pubDate>Wed, 04 Jun 2008 18:01:11 -0200</pubDate><link>http://news.xb2.net/xfree.public/63/Re%3a+Condicional+expresions+in+sql.html</link><comments>http://news.xb2.net/xfree.public/63/Re%3a+Condicional+expresions+in+sql.html</comments><author>amigosam@adinet.com.uy</author><description>&lt;pre&gt;I'm glad it worked =)
Excuse me but I was 2 days working out of city.
Yes I'm in the process on moving all business logic to the database via 
VIEWS, STORED PROCEDURES and learning along the way.

Jose Valle escribi&amp;#243;:
&amp;gt;&amp;gt; Tal vez esto te pueda ayudar...
&amp;gt;&amp;gt; Maybe this can help you...
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; http://www.postgresql.org/docs/8.3/interactive/functions-conditional.html#AEN14417 
&amp;gt;&amp;gt;
&amp;gt; 
&amp;gt; Thanks very much Angel. It works perfect
&amp;gt; 
&amp;gt; In pgadmin:
&amp;gt; 
&amp;gt; SELECT cuenta, sum(CASE WHEN debehaber='D' THEN importe ELSE -importe 
&amp;gt; END) FROM apuntes group by cuenta order by cuenta ;
&amp;gt; 
&amp;gt; in sqlexpress
&amp;gt; 
&amp;gt; oCursor := oConn:Cursor(&amp;quot;SELECT cuenta, sum( CASE WHEN debehaber='D' 
&amp;gt; THEN importe ELSE -importe END) AS saldo  FROM apuntes WHERE fecha &amp;lt;= '&amp;quot; 
&amp;gt; + DtoC(mFecha) +&amp;quot;' GROUP BY cuenta ORDER BY cuenta ASC&amp;quot;)
&amp;gt; 
&amp;gt; But It is very, very fast.
&amp;gt; 
&amp;gt; Another question: will you move to sql?
&amp;gt; 
&amp;gt; Regards
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/63</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/64/Comenzando+con+PG....html</guid><title>Comenzando con PG...</title><pubDate>Thu, 5 Jun 2008 22:55:27 -0500</pubDate><link>http://news.xb2.net/xfree.public/64/Comenzando+con+PG....html</link><comments>http://news.xb2.net/xfree.public/64/Comenzando+con+PG....html</comments><author>pablormc@gmail.com</author><description>&lt;pre&gt;Hola!

He bajado los ejemplos para acceder a PostGreSQL desde XBase pero no 
encuentro un archivo: &amp;quot;libpq4xb.ch&amp;quot;, podr&amp;#237;an indicarme donde lo puedo 
obtener?

Gracias por su apoyo.

Saludos!

Pablo R. Montenegro.&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/64</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/65/Re%3a+Comenzando+con+PG....html</guid><title>Re: Comenzando con PG...</title><pubDate>Fri, 6 Jun 2008 09:48:38 +0200</pubDate><link>http://news.xb2.net/xfree.public/65/Re%3a+Comenzando+con+PG....html</link><comments>http://news.xb2.net/xfree.public/65/Re%3a+Comenzando+con+PG....html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;En el zip adjunto tienes libpq4xb.ch y  libpq4xb.prg
Aun no los hemos subido a xfree.resources porque aun falta testear un poco m&amp;#225;s y poner ejemplos
Saludos,
Pablo Botella

--------------------------------------------------------------------------------------------------------
Have attached a zip file including libpq4xb.ch and libpq4xb.prg
Still not in the xfree.resources NG becouse still needed to be tested  more and also write some examples&lt;/pre&gt;</description><enclosure url="http://news.xb2.net/xfree.public/65/attachments/0/libpq4xb.zip" length="3691" type="application/octet-stream" /><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/65</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/66/ot4xb.html</guid><title>ot4xb</title><pubDate>Fri, 06 Jun 2008 11:24:35 -0600</pubDate><link>http://news.xb2.net/xfree.public/66/ot4xb.html</link><comments>http://news.xb2.net/xfree.public/66/ot4xb.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Hello guys

#include &amp;quot;ot4xb.ch&amp;quot;
#include &amp;quot;Appevent.ch&amp;quot;
// 
---------------------------------------------------------------------------
#define WM_NCHITTEST        0x0084
#define WM_MOVING           0x0216
#define WM_DESTROY          0x0002
// 
---------------------------------------------------------------------------
proc main()
local nEvent,oSle,mp1 := NIL,mp2 := NIL, oXbp := NIL

    SETCOLOR( &amp;quot;N/W&amp;quot; )
    CLS
    ?? &amp;quot;Try to Drag &amp;amp; drop the GET&amp;quot;
    oSle:= DragableGet():new()
    oSle:tabStop := .T.
    oSle:create( , , {230,192}, {140,24} )
    SetAppfocus( oSle )

    nEvent := 0
    while nEvent != xbeP_Close
       nEvent := AppEvent( @mp1, @mp2, @oXbp )
       oXbp:HandleEvent( nEvent, mp1, mp2 )
    end
return
// 
---------------------------------------------------------------------------
CLASS DragableGet FROM XbpSLE
EXPORTED:
        // 
--------------------------------------------------------------------
INLINE METHOD WndProc(hWnd,nMsg,wp,lp)
        if( nMsg == WM_NCHITTEST )
           @user32:SetFocus(hWnd)
           return 2
        elseif( nMsg == WM_MOVING )
           ::Moving( lp )
           return 1
        end
        return NIL
        // 
--------------------------------------------------------------------
INLINE METHOD Create( oParent, oOwner, aPos, aSize, aPP, lVisible )
        ::xbpSLE:create( oParent, oOwner, aPos, aSize, aPP, lVisible )
        ot4xb_SubclassWindow( ::GetHWnd() , Self , WM_DESTROY)
        return Self
        // 
--------------------------------------------------------------------
INLINE METHOD Moving(pRect)
        local aRect := iif( Empty(pRect) , NIL , PeekDWord(pRect,0,4) )
        if( aRect != NIL )
           @user32:MapWindowPoints(0, ::SetParent():GetHWND() , @aRect , 2)
           DispOutAt(0,35, &amp;quot;L:&amp;quot; + StrZero(aRect[1],5) +;
                         &amp;quot;, T:&amp;quot; + StrZero(aRect[2],5) +;
                         &amp;quot;, R:&amp;quot; + StrZero(aRect[3],5) +;
                         &amp;quot;, B:&amp;quot; + StrZero(aRect[4],5) )
        end
        return NIL
        // 
--------------------------------------------------------------------
ENDCLASS


Question ...

To make an xbp that recive any event of the OS, do I need to make a 
subclassing ? ( ot4xb_SubclassWindow( ::GetHWnd() , Self , WM_DESTROY)

So then, this function call automaticly the WndProc(hWnd,nMsg,wp,lp)
where in this place I can trap any events of the OS ... Is it right ?



---------------------------------


Solo para confirmar

Para hacer que un xbp reciva eventos del OS, necesito hacer dicho xbp un 
subclassing () ?
Y este automaticamente llama la funcion wndproc ? en donde ahi atrapamos 
todos los eventos de windows ? Es correcto.

Entonces si quiero poner algo asi como ot4xb_SubclassWindow( 
oDlgVentanPrincipal ) , Self , WM_DESTROY)

Ahi puedo atrapar todos los eventos de windows hasta el cntrl-alt-delete ?

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/66</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/67/Re%3a+ot4xb.html</guid><title>Re: ot4xb</title><pubDate>Sat, 7 Jun 2008 02:03:06 +0200</pubDate><link>http://news.xb2.net/xfree.public/67/Re%3a+ot4xb.html</link><comments>http://news.xb2.net/xfree.public/67/Re%3a+ot4xb.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hi Osvaldo,

First you need to understand the xbp event mechanism:

When the system call to the xbp wndproc (always in the GUI thread)
the wndproc do what they need to do and only for a subset of messages
post an xb event to the xbp thread and return inmediatelly ignoring the return 
value of the xb event. 

This is not bad at all, as allow to have multiple worker threads in a easy way, but have some limitations.
The first limitation is that the xb events are handling asyncronously so you can not control the behavior of the system based on the result of your event processing. 
And the second limitation is that not all the messages that your xbp wndproc receive will be reflected as xb events in the user thread.

Every window have a pointer to a wndproc that will process the received messages in the thread where the window has been created. All xbp windows will be created in the GUI thread so all windows messages will be procesed in that thread, and xb events will be posted to the thread where the user was called to the method oXbp:Create() 

WndProc subclassing is a common way to add custom functionality to existing windows and controls, and consist in save the previous wndproc and replace for a new one. The new wndproc will add some code for certain messages and return a value to the system or delegate the control to the old wndprocedure. Finally before destroy the control will restore the old wndproc.

&amp;gt; To make an xbp that recive any event of the OS, do I need to make a subclassing ?
Subclassing a xbp window you can handle any message that reach to your xbp wndproc. 
But the message must be reach your wndproc

&amp;gt; So then, this function call automaticly the WndProc(hWnd,nMsg,wp,lp)
&amp;gt; where in this place I can trap any events of the OS ... Is it right ?
Not always, as I was told you before, because not all messages will reach your window.

For this task there is a function in user32.dll  called SetWindowsHookEx() that allow you to trap any messages 
in a specific thread or also in all threads of the same desktop.

You can use SetWindowsHookEx() using ot4xb and the xppcbk.exe callback compiler, only for threads that have been initialized from Xbase++ , but for all threads in the desktop ( as required if you want to trap ctrl+alt+del) you will need to provide a hook function writed in C.

Regards,
Pablo Botella

 ---------------------------------------------

Lo primero necesitas conocer un poco como funcionan los eventos de los xbp:

Cuando el sistema llama al procedimiento de ventana de un xbp (siempre en el GUI thread)
el procedimiento de la ventana hace lo que necesite y en algunos casos envia un evento xbase al thread que creo el objeto xbp y retorna inmediatamente ignorando la posible respuesta al evento xbase

La verdad es que la tecnica no es mala del todo, nos permite separar el trabajo en diferentes threads de una manera f&amp;#225;cil, per claro tiene sus limitaciones.

La primera limitaci&amp;#243;n es que los eventos se procesan en modo as&amp;#237;ncrono asi que no podemos modificar el comportamiento de nuestro control devolviendo un valor al sistema.

La segunda limitaci&amp;#243;n es que no todos los mensajes que el sistema envia a nuestra ventana se ven reflejados por un evento xbase en nuestro thread de usuario.

Todas las ventanas almacenan un puntero a su procedimiento de ventana que es el va a procesar todos los mensajes que recibe la ventana en el mismo hilo en que se creo la ventana. Todos los xbps crean su ventana en el GUI thread, no importa en que thread hallamos creado el objeto sin embargo los eventos xbase si se recibir&amp;#225;n en el thread donde hallamos llamado al m&amp;#233;todo oXbp:Create() 

Subclasear el procedimiento de ventana es una t&amp;#233;cnica muy corriente para a&amp;#241;adir funcionalidad a ventanas y controles que ya existan  y consiste en guardar el puntero al procedimiento de ventana actual y cambiarlo por uno nuevo. El procedimiento de ventana a&amp;#241;adir&amp;#225; codigo para algunos eventos y devolver&amp;#225; el control al sistema o al procedimiento antiguo si quiere reutilizar parte del comportamiento. Finalmente antes de que se destruya la ventana restaurar&amp;#225; el procedimiento de ventana antiguo.

&amp;gt; Para hacer que un xbp reciva eventos del OS, necesito hacer dicho xbp un 
&amp;gt; subclassing () ?
Subclaseando una ventana xbp conseguiremos procesar cualquier mensaje que llegue a nuestro procedimiento de ventana,
pero claro a veces no llegan :-)

&amp;gt; Entonces si quiero poner algo asi como ot4xb_SubclassWindow( 
&amp;gt; oDlgVentanPrincipal ) , Self , WM_DESTROY)
&amp;gt; Ahi puedo atrapar todos los eventos de windows hasta el cntrl-alt-delete ?

Pues como te he dicho antes, no siempre, porque no todos los mensajes van allegar al wndproc de tu ventana.

Para esto tenemos una funci&amp;#243;n en user32.dll que se llama SetWindowsHookEx() y nos permite atrapar cualquier mensaje de un thread espec&amp;#237;fico o incluso de cualquier thread en el mismo escritorio.

Puedes usar SetWindowsHookEx() junto con ot4xb y mi compilador de callbacks, pero solo para los hilos que haya creado Xbase++ , porque solo puedes ejecutar una funcion de Xbase++ si el hilo lo ha creado &amp;#233;l.

Sin embargo para atrapar mensajes de cualquier thread en el mismo escritorio (como nos har&amp;#237;a falta para atrapar el ctrl+alt+del) necesitamos pasarle una funci&amp;#243;n en C&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/67</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/68/Re%3a+Comenzando+con+PG....html</guid><title>Re: Comenzando con PG...</title><pubDate>Fri, 6 Jun 2008 22:20:12 -0500</pubDate><link>http://news.xb2.net/xfree.public/68/Re%3a+Comenzando+con+PG....html</link><comments>http://news.xb2.net/xfree.public/68/Re%3a+Comenzando+con+PG....html</comments><author>pablormc@gmail.com</author><description>&lt;pre&gt;Gracias por la pronta respuesta!

Yo pienso comenzar a realizar pruebas y en cuanto tenga alg&amp;#250;n ejemplo se los
env&amp;#237;o por este medio.

Si puedo ayudarlos en algo m&amp;#225;s con relaci&amp;#243;n a PostGreSQL y esta interface
via ot4xb, con lo har&amp;#233; con gusto.

Saludos Pablo &amp;amp; Osvaldo...

Pablo Montenegro.
&amp;gt;-------
Thank you for the prompt response!

I think to start testing it, and as soon as I have some code samples I'll
send it to you by this way.

If I could help you with anything related to PostGreSQL and this interface
via ot4xb, I'll glad to do so.

Best regards&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/68</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/69/SQL.html</guid><title>SQL</title><pubDate>Sat, 07 Jun 2008 09:41:30 -0600</pubDate><link>http://news.xb2.net/xfree.public/69/SQL.html</link><comments>http://news.xb2.net/xfree.public/69/SQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Buenos, dias amigos


Pienso que se puede hacer mas facil que recorrer cada registro y 
actualizar valores en otra tabla.

Bueno, hay va mi pregunta.

Tabla de articulos, tiene unas columnas de exitencias
Tabla de Compras tiene los datos de la compra
Tabla del detalle de las compras donde estan todos los articulos que se 
compraron.

Quiero actualizar cada articulo aumentado las existencias con la 
informacion que se capturo en el detalle de las compras.

Yo pense que en recorrer cada producto del detalle, y e ir a articulos y 
actualizarlo, pero pienso que es mas facil.

Alguna sugerencia?

-------------------------------------------------------------

Well guys

I need to know how to update a table ...

for exaple :

I have a table called articul, where are I have stock columns.
I have a master purchase order table.
I have a detail purchase order table

So how to change my inventory stock with the details table, with out 
going with each record.


------------------------------

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/69</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/70/Re%3a+SQL.html</guid><title>Re: SQL</title><pubDate>Sat, 07 Jun 2008 17:29:56 -0200</pubDate><link>http://news.xb2.net/xfree.public/70/Re%3a+SQL.html</link><comments>http://news.xb2.net/xfree.public/70/Re%3a+SQL.html</comments><author>amigosam@adinet.com.uy</author><description>&lt;pre&gt;Jose did the same question 5 days ago.
Just change Items with Accounts and Quantity with Amount

=)

---------------------------------------------------------

Es la misma pregunta que hizo Jose hace 5 dias.
Solo cambia Cuentas por Articulo e Importes por Cantidades

Un balance es un balance no importa si estamos contando dinero o bolitas 
de vidrio.

=)&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/70</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/71/Re%3a+SQL.html</guid><title>Re: SQL</title><pubDate>Sun, 08 Jun 2008 10:51:44 -0600</pubDate><link>http://news.xb2.net/xfree.public/71/Re%3a+SQL.html</link><comments>http://news.xb2.net/xfree.public/71/Re%3a+SQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Gracias Angel Pais

Pero lo que quiero es actualizar y no hacer un select:

Este es mi ejemplo

oStmt := oConnection:NewStatement()

// Actualizar la compra
oStmt:SQLString := &amp;quot;UPDATE movs SET mov_status = 'ACTUALIZADA' where 
mov_id = &amp;quot;+str(nMov)

oStmt:Execute()

  // Actualizar las existencias en la tabla de articul por cada producto 
// en el detalle de sub_mov

oCursorLocal := SQLDataSet():new( &amp;quot;SELECT 
art_id,sm_cant,sm_costo,sm_ealm01,sm_ealm02 FROM sub_mov WHERE mov_id = 
&amp;quot;+alltrim(str(nMov))+ &amp;quot;;&amp;quot;)

do while ! oCursorLocal:eof()
   if (nEAlm := oCursorLocal:fieldget(&amp;quot;sm_ealm01&amp;quot;)) &amp;gt; 0
     oStmt:SQLString := &amp;quot;UPDATE articul SET art_ealm01 = &amp;quot;+str(nEAlm)+&amp;quot;
      where art_id = '&amp;quot;+oCursorLocal:fieldget(&amp;quot;art_id&amp;quot;)+&amp;quot;'&amp;quot;
     oStmt:Execute()
   endif
   oCursorLocal:skip(1)
enddo
ocursorLocal:destroy()


Pero creo que no es lo correcto

-------------

Dear Angel,

This is my code


I kown that is not the right way,

I want to update the table movs and the table articul with each record 
contain in sub_mov table.

Thanks a lot
Osvaldo Ramirez






  wrote:
&amp;gt; Jose did the same question 5 days ago.
&amp;gt; Just change Items with Accounts and Quantity with Amount
&amp;gt; 
&amp;gt; =)
&amp;gt; 
&amp;gt; ---------------------------------------------------------
&amp;gt; 
&amp;gt; Es la misma pregunta que hizo Jose hace 5 dias.
&amp;gt; Solo cambia Cuentas por Articulo e Importes por Cantidades
&amp;gt; 
&amp;gt; Un balance es un balance no importa si estamos contando dinero o bolitas 
&amp;gt; de vidrio.
&amp;gt; 
&amp;gt; =)&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/71</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/72/Re%3a+SQL.html</guid><title>Re: SQL</title><pubDate>Mon, 9 Jun 2008 00:21:58 +0200</pubDate><link>http://news.xb2.net/xfree.public/72/Re%3a+SQL.html</link><comments>http://news.xb2.net/xfree.public/72/Re%3a+SQL.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hi Osvaldo,

The ideal situation is that your program will not need to do nothing to update the article stock when you grab a new purchase or change the status of the purchase line ( UPDATE movs SET mov_status = 'ACTUALIZADA' )

To acomplish this task PostgreSQL have 2 mechanisms, RULES and TRIGGERS

The optimum mechanism will be RULE system that:

1) Increase the stock items when new purchase items are inserted (or marked as 'ACTUALIZADA') 
2) Decrease the stock items when a new sale is generated
3) Prevent the direct modification of stock items

This will require a hard investiment on effort at the database design time, but will reduce the complexity of your application and also will increase the integrity of your data.

Your can use your &amp;quot;dbf like&amp;quot; aproach as a workarround in the meantime you read and learn about the PostgreSQL RULE system, and later when you have properly defined and tested, replace the dbf-like aproach with the server-side-rule mechanism. 

Regards,
Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/72</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/73/Reporter.html</guid><title>Reporter</title><pubDate>Mon, 09 Jun 2008 20:39:25 -0600</pubDate><link>http://news.xb2.net/xfree.public/73/Reporter.html</link><comments>http://news.xb2.net/xfree.public/73/Reporter.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear guys


What do you use to make reports using SQL ?

Best Regards
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/73</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/74/Re%3a+SQL.html</guid><title>Re: SQL</title><pubDate>Wed, 11 Jun 2008 00:10:38 +0200</pubDate><link>http://news.xb2.net/xfree.public/74/Re%3a+SQL.html</link><comments>http://news.xb2.net/xfree.public/74/Re%3a+SQL.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hello

RULES and TRIGGERS

With the new version of xbase can we write RULES in xbase++

I have no idea about what are RULES,Is the same as calculated columns?
 perhaps I can say something like

art-&amp;gt;stock = sum(ent-&amp;gt;quantity,ent-&amp;gt;cod_art=art-&amp;gt;cod_art ) - 
sum(sal-&amp;gt;quantity,sal-&amp;gt;cod_art=art-&amp;gt;cod_art)

well I supose that will be an sql expresion, bat still don&amp;#180;t know the 
syntax.&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/74</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/75/Re%3a+Reporter.html</guid><title>Re: Reporter</title><pubDate>Wed, 11 Jun 2008 00:16:00 +0200</pubDate><link>http://news.xb2.net/xfree.public/75/Re%3a+Reporter.html</link><comments>http://news.xb2.net/xfree.public/75/Re%3a+Reporter.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hello Osvaldo

I use Fastreports. Sergei explained how to do it. He use Ado to access the 
data. I have just make an example for listing 70000 lines and is very fast 
(2000 pages in 1 minute). But I have not used in production.

Jose Valle


&amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
noticias news:4d8632b1$c1d950d$c495@news.xbwin.com...
&amp;gt; Dear guys
&amp;gt;
&amp;gt;
&amp;gt; What do you use to make reports using SQL ?
&amp;gt;
&amp;gt; Best Regards
&amp;gt; Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/75</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/76/Re%3a+SQL.html</guid><title>Re: SQL</title><pubDate>Tue, 10 Jun 2008 17:20:22 -0600</pubDate><link>http://news.xb2.net/xfree.public/76/Re%3a+SQL.html</link><comments>http://news.xb2.net/xfree.public/76/Re%3a+SQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Jose Valle

Rules = Validation at the field level
Triggers = &amp;quot;Se dispara un evento al momento de cierta condicion&amp;quot;

Saludos
Osvaldo Ramirez

wrote:
&amp;gt; Hello
&amp;gt; 
&amp;gt; RULES and TRIGGERS
&amp;gt; 
&amp;gt; With the new version of xbase can we write RULES in xbase++
&amp;gt; 
&amp;gt; I have no idea about what are RULES,Is the same as calculated columns?
&amp;gt; perhaps I can say something like
&amp;gt; 
&amp;gt; art-&amp;gt;stock = sum(ent-&amp;gt;quantity,ent-&amp;gt;cod_art=art-&amp;gt;cod_art ) - 
&amp;gt; sum(sal-&amp;gt;quantity,sal-&amp;gt;cod_art=art-&amp;gt;cod_art)
&amp;gt; 
&amp;gt; well I supose that will be an sql expresion, bat still don&amp;#180;t know the 
&amp;gt; syntax.
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/76</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/77/Re%3a+Reporter.html</guid><title>Re: Reporter</title><pubDate>Tue, 10 Jun 2008 17:21:42 -0600</pubDate><link>http://news.xb2.net/xfree.public/77/Re%3a+Reporter.html</link><comments>http://news.xb2.net/xfree.public/77/Re%3a+Reporter.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Thanks Jose Valle

I will ask to Segei to see If we can work with SQLexpress++ cursor or Do 
need ADO to access postgresql

Gracias
Osvaldo Ramirez

  wrote:
&amp;gt; Hello Osvaldo
&amp;gt; 
&amp;gt; I use Fastreports. Sergei explained how to do it. He use Ado to access 
&amp;gt; the data. I have just make an example for listing 70000 lines and is 
&amp;gt; very fast (2000 pages in 1 minute). But I have not used in production.
&amp;gt; 
&amp;gt; Jose Valle
&amp;gt; 
&amp;gt; 
&amp;gt; &amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi&amp;#243; en el mensaje de 
&amp;gt; noticias news:4d8632b1$c1d950d$c495@news.xbwin.com...
&amp;gt;&amp;gt; Dear guys
&amp;gt;&amp;gt;
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; What do you use to make reports using SQL ?
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; Best Regards
&amp;gt;&amp;gt; Osvaldo Ramirez 
&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/77</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/78/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 12 Jun 2008 04:20:27 -0700</pubDate><link>http://news.xb2.net/xfree.public/78/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/78/Re%3a+PostgreSQL.html</comments><author>sternerz@gmail.com</author><description>Hello Osvaldo,&lt;br /&gt;&lt;br /&gt;I try compile Your test.prg and libpq4xb.prg, but few errors occured:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;xpp /n/m/w /dll:dynamic @c:\temp\06122209.tmp&lt;br /&gt;Xbase++ (R) Compiler 1.90.331 Apr 27 2006&lt;br /&gt;Copyright (c) Alaska Software. All rights reserved.&lt;br /&gt;File: LIBPQ4XB.PRG Line:&amp;nbsp; 253&lt;br /&gt;LIBPQ4XB.PRG(17:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(20:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(24:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(31:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(35:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(40:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(62:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(177:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(193:0): error XBT0200: Syntax Error&lt;br /&gt;LIBPQ4XB.PRG(220:0): error XBT0200: Syntax Error&lt;br /&gt;10 error(s) found in file LIBPQ4XB.PRG!&lt;br /&gt;&lt;br /&gt;Missing libpq4xb.ch.&lt;br /&gt;&lt;br /&gt;Please help.&lt;br /&gt;&lt;br /&gt;Reagrds&lt;br /&gt;Zoltan Sterner&lt;br /&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/78</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/79/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 12 Jun 2008 14:07:39 +0200</pubDate><link>http://news.xb2.net/xfree.public/79/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/79/Re%3a+PostgreSQL.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hi,

&amp;gt;I try compile Your test.prg and libpq4xb.prg, but few errors occured:
You will need ot4xb ver &amp;gt;= 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

&amp;gt;Missing libpq4xb.ch.
Get it from here
http://news.xbwin.com/xfree.resources/86/libpq4xb.html

Regards,
Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/79</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/80/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Thu, 12 Jun 2008 23:33:28 -0700</pubDate><link>http://news.xb2.net/xfree.public/80/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/80/Re%3a+PostgreSQL.html</comments><author>sternerz@gmail.com</author><description>&lt;p&gt;Hi Pablo,&lt;/p&gt;&lt;p&gt;Thx the fast reply, is work!&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Zoltan Sterner&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description><enclosure url="http://news.xb2.net/xfree.public/80/attachments/0/result.jpg" length="437216" type="image/jpeg" /><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/80</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/81/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 13 Jun 2008 21:58:35 -0600</pubDate><link>http://news.xb2.net/xfree.public/81/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/81/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Well frinds

Some times its hard to translate all things that we think, but
Please if some one has interest on the topic, I will a pleasure to do

I tought that Store Procedure was to high for me, but who know, and 
guess what, it is easy, thanks to push me ( Pablo, Hector, Angel )

So, I put this example using the ot4xb

I put some comments in spanish, but the example is explain it self.

HTH
Osvaldo Ramirez




#include &amp;quot;ot4xb.ch&amp;quot;
#include &amp;quot;libpq4xb.ch&amp;quot;


function main()
* Begin
   local conn := 
pqSetDbLogin(&amp;quot;localhost&amp;quot;,&amp;quot;5432&amp;quot;,NIL,NIL,&amp;quot;mydb&amp;quot;,&amp;quot;postgres&amp;quot;,&amp;quot;&amp;quot;)
   local result,query,n,nRows

   // Primero nos conectamos&amp;quot;
   if ( PQstatus(conn) != ConnStatusType.Ok )
      ? cPrintf( &amp;quot;Connection to database failed: %s&amp;quot;, PQerrorMessage(conn) )
   else

   // Bueno, primero Crea la funcion  en caso la funcion se llamara add()
   // y como parametros lo que va a entrar o sea, van a entrar 2 enteros
   // Luego que tipo de valor va a regresar en este caso
   // va a regresar un entero.
   // El &amp;quot;as&amp;quot; no se para que es

   // Ok, ahora seguimos con la declare(cion) y decimos
   // x va a ser el parametro uno
   // y va a ser el parametro dos
   // luego declaramos una variable llamada sum la cual es entera o sea 
numerica para los pobres.
   // Luego iniciamos nuestro bloque tipo pascal  con un Begin
   // y ahi hacemos nuestra operacion y regresamos dicho valor
   // luego terminanos y decimos que la funcion va a ser con ellenguage 
plpgsql
   // Bueno, amigos, como veran, un burro trata de aprender sql


    TEXT INTO MyStoreProcedure

     CREATE FUNCTION suma(int, int) RETURNS int
     AS '
     DECLARE
        x alias for $1;  y alias for $2;
        sum integer;
     BEGIN
        sum := x + y;   return sum;
     END;' LANGUAGE 'plpgsql';

    ENDTEXT


    query := MyStoreProcedure
    result := pqExec(conn,query)
    nRows  := pqntuples( result )
    ? nRows

   // Bueno, ahora ya teniendo la coneccion vamos a probar esto, estamos?

   // Con esto llamaremos la funcion suma con 2 parametros y lo 
meteremos en el campo resultado, el cual es de tipo entero&amp;quot;

    query := &amp;quot;select suma(10,10) as resultado&amp;quot;
    result := pqExec(conn,query)
    nRows  := pqntuples( result )

     for n := 1 to nRows
      ?? iif( n &amp;gt; 1 , &amp;quot;, &amp;quot; , &amp;quot;&amp;quot;)
      ?? pqGetValue(result,n-1,0)
     next
     pqClear(result) ; result := NIL
     PQfinish(conn)
   end
   inkey(0)
return NIL&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/81</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/82/Re%3a+PostgreSQL.html</guid><title>Re: PostgreSQL</title><pubDate>Fri, 13 Jun 2008 22:34:19 -0600</pubDate><link>http://news.xb2.net/xfree.public/82/Re%3a+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/82/Re%3a+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Me falto decir de donde ...


http://www.cse.unsw.edu.au/~cs3311/04s1/lec/storedproc/notes.html


Saludos&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/82</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/83/Problems+with+PostgreSQL.html</guid><title>Problems with PostgreSQL</title><pubDate>Sat, 21 Jun 2008 10:15:49 -0600</pubDate><link>http://news.xb2.net/xfree.public/83/Problems+with+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/83/Problems+with+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Hello guys

Today, I can't run the postgresql service, Yesterday was working well.

So I stop and start the service without success

I use this command to start the service .

c:\windows\system32\net start pgsql-8.3 and show me this error:

System error 5 has occureed

Access is denied.

-----------------------------------------------------------------------

Hoy amaneci sin server, ayer todo estaba bien, pero hoy no.

Pare e inicie el servicio de postgresql sin ningun existo.

Asi que vi el bacth para ver que hacia y esto es lo que hace:


c:\windows\system32\net start pgsql-8.3  y marca este error:


System error 5 has occureed

Access is denied.


Agradesco su ayuda

Saludos
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/83</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/84/Re%3a+Problems+with+PostgreSQL.html</guid><title>Re: Problems with PostgreSQL</title><pubDate>Sat, 21 Jun 2008 11:11:38 -0600</pubDate><link>http://news.xb2.net/xfree.public/84/Re%3a+Problems+with+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/84/Re%3a+Problems+with+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Solved guys

thanks a lot
Osvaldo Ramirez wrote:
&amp;gt; 
&amp;gt; Hello guys
&amp;gt; 
&amp;gt; Today, I can't run the postgresql service, Yesterday was working well.
&amp;gt; 
&amp;gt; So I stop and start the service without success
&amp;gt; 
&amp;gt; I use this command to start the service .
&amp;gt; 
&amp;gt; c:\windows\system32\net start pgsql-8.3 and show me this error:
&amp;gt; 
&amp;gt; System error 5 has occureed
&amp;gt; 
&amp;gt; Access is denied.
&amp;gt; 
&amp;gt; -----------------------------------------------------------------------
&amp;gt; 
&amp;gt; Hoy amaneci sin server, ayer todo estaba bien, pero hoy no.
&amp;gt; 
&amp;gt; Pare e inicie el servicio de postgresql sin ningun existo.
&amp;gt; 
&amp;gt; Asi que vi el bacth para ver que hacia y esto es lo que hace:
&amp;gt; 
&amp;gt; 
&amp;gt; c:\windows\system32\net start pgsql-8.3  y marca este error:
&amp;gt; 
&amp;gt; 
&amp;gt; System error 5 has occureed
&amp;gt; 
&amp;gt; Access is denied.
&amp;gt; 
&amp;gt; 
&amp;gt; Agradesco su ayuda
&amp;gt; 
&amp;gt; Saludos
&amp;gt; Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/84</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/85/Postgree+%2b+Ado.html</guid><title>Postgree + Ado</title><pubDate>Tue, 24 Jun 2008 18:59:46 +0200</pubDate><link>http://news.xb2.net/xfree.public/85/Postgree+%2b+Ado.html</link><comments>http://news.xb2.net/xfree.public/85/Postgree+%2b+Ado.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Hola

Me han dejado un ejemplo de como se usa ADO para acceder datos.
Me parece que es muy sencillo de usar. A mi me viene muy bien porque 
Fastreports usa Ado para acceder a los datos.
Os pido vuestra opinion sobre ADO antes de dedicarle tiempo. &amp;#191;Es una 
soluci&amp;#243;n fiable?

Hello

This is a sample of how to use ADO to access PostGree. It looks very easy.
Any experiences with Ado?



#include &amp;quot;ado.ch&amp;quot;
#include &amp;quot;common.ch&amp;quot;

#define CRLF chr(13)+chr(10)
#PRAGMA LIBRARY (&amp;quot;ASCOM10.LIB&amp;quot;)


 PROCEDURE MAIN
 LOCAL oConexion, oRs, lConectado , nValue

       oConexion := CreateObject(&amp;quot;ADODB.Connection&amp;quot;)

       //ok-&amp;gt; // oConexion:ConnectionString :=  &amp;quot;Provider= 
Microsoft.Jet.OLEDB.4.0;Data Source= BookSale.mdb&amp;quot;

       // Los espacios en blanco a veces dan error
       //ok-&amp;gt; //oConexion:ConnectionString :=  &amp;quot;Provider=Microsoft OLE DB 
Provider for ODBC Drivers;Server=localhost;Port=5432;Data 
Source=PostgreSQL35W;User Id=postgres;Password=43434343;&amp;quot;
       //ok-&amp;gt;//oConexion:ConnectionString :=  &amp;quot;Provider=Microsoft OLE DB 
Provider for ODBC Drivers;Server=localhost;Port=5432;Data 
Source=PostgreSQL35W;User Id=postgres;Password=43434343;&amp;quot;

       oConexion:ConnectionString :=  &amp;quot; Server=localhost; Data Source = 
PostgreSQL35W ; UserId = postgres ;&amp;quot;

/*
      sets the string used to connect to a PostgreSQL database.
        /// Valid values are:
        /// Server:                     Address/Name of Postgresql Server;
        /// Port:                       Port to connect to;
        /// Protocol:                   Protocol version to use, instead of 
automatic; Integer 2 or 3;
        /// Database:                   Database name. Defaults to user name 
if not specified;
        /// User Id:                    User name;
        /// Password:                   Password for clear text 
authentication;
        /// SSL:                        True or False. Controls whether to 
attempt a secure connection. Default = False;
        /// Pooling:                    True or False. Controls whether 
connection pooling is used. Default = True;
        /// MinPoolSize:                Min size of connection pool. 
Default: 1;
        /// MaxPoolSize:                Max size of connection pool. 
Default: 20;
        /// Encoding:                   Encoding to be used; Can be ASCII or 
UNICODE. Default is ASCII. Use UNICODE if you are having problems with 
accents.
        /// Timeout:                    Time to wait for connection open in 
seconds. Default is 15.
        /// CommandTimeout:             Time to wait for command to finish 
execution before throw an exception. In seconds. Default is 20.
        /// Sslmode:                    Mode for ssl connection control.
        /// ConnectionLifeTime:         Time to wait before closing unused 
connections in the pool in seconds. Default is 15.
        /// SyncNotification:           Specifies if Npgsql should use 
synchronous notifications

        Encoding can be ASCII or UNICODE. If your application uses 
characters with accents and with default settings it doesn't work, try 
changing that.
        Min pool size when specified will make NpgsqlConnection pre 
allocates this number of connections with the server.
        Sslmode can be one of the following values:
            Prefer - If it is possible to connect using ssl, it will be 
used.
            Require - If an ssl connection cannot be made, an exception is 
thrown.
            Allow - Not supported yet, just connects without ssl.
            Disable - No ssl connection is done.
            Default is Disable.
            Server=192.168.10.4;Port=5432;Userid=postgres;Password=stefan;Protocol=3;SSL=false;Pooling=true;MinPoolSize=1;MaxPoolSize=20;Encoding=UNICODE;Timeout=15;SslMode=Disable;Database=test

*/

       oConexion:open()

       ? ' donde me conecto', oConexion:ConnectionString

       inkey(0)

       oRs := CreateObject(&amp;quot;ADODB.Recordset&amp;quot;)

       // public es el schema
       oRs:Open(&amp;quot;SELECT * FROM public.apuntes ORDER BY fecha&amp;quot;,oConexion,0,3)

        IF oRs:Bof .And. oRs:Eof
          ?  &amp;quot;NO HAY DATOS&amp;quot;
            oConexion:Close()
            return
        endif

        oRs:MoveFirst()

        do while .NOT. oRs:eof

           ? 'valor', oRS:fields(&amp;quot;fecha&amp;quot;):Value

           oRs:MoveNext()
        enddo

       inkey(0)

      oRs:Close()

   return

/*
 PROCEDURE MAIN   //ok

 LOCAL oConexion, oRs, lConectado , nValue

       oConexion := CreateObject(&amp;quot;ADODB.Connection&amp;quot;)

       //oConexion:ConnectionString :=  &amp;quot;Provider= 
Microsoft.Jet.OLEDB.4.0;Data Source= BookSale.mdb&amp;quot;
       oConexion:ConnectionString :=  &amp;quot;Provider= 
Microsoft.Jet.OLEDB.4.0;Data Source= BookSale.mdb&amp;quot;

       oConexion:open()

       ? ' donde me conecto', oConexion:ConnectionString

       inkey(0)

       oRs := CreateObject(&amp;quot;ADODB.Recordset&amp;quot;)

       oRs:Open(&amp;quot;SELECT * FROM Publishers ORDER BY NAME&amp;quot;,oConexion,0,3)

        IF oRs:Bof .And. oRs:Eof
          ?  &amp;quot;NO HAY DATOS&amp;quot;
            oConexion:Close()
            return
        endif

        oRs:MoveFirst()

        do while .NOT. oRs:eof

           ? 'valor', oRS:fields(&amp;quot;Name&amp;quot;):Value

           oRs:MoveNext()
        enddo

       inkey(0)

      oRs:Close()

   return&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/85</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/86/Re%3a+Postgree+%2b+Ado.html</guid><title>Re: Postgree + Ado</title><pubDate>Tue, 24 Jun 2008 13:21:37 -0600</pubDate><link>http://news.xb2.net/xfree.public/86/Re%3a+Postgree+%2b+Ado.html</link><comments>http://news.xb2.net/xfree.public/86/Re%3a+Postgree+%2b+Ado.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Estimado Jose

Bueno, definiendo

1.- ot4xb accesaa directamente al API de PostgreSQL el cual nos da
     rapidez, pero nos casamos con Postgresql.
     Xbase++ -&amp;gt; ot4xb -&amp;gt; api postgresql -&amp;gt; database

2.- SqlExpress++ accesa via ODBC a Postgresql y la verdad no se si
     el odbc de postgresql necesite el api de postgresql para correr
     asi que quedaria asi :
     Xbase++ -&amp;gt; sqlexpress++ -&amp;gt; odbc -&amp;gt; api postgresql -&amp;gt; database

3.- Usando ADO, segun entiendo quedaria asi
     Xbase++ -&amp;gt; COM/ActiveX -&amp;gt; OLE DB - &amp;gt; database


Pero bueno esto me encontre por ahi

ADO = API to OLE DB.
ADO Speed &amp;lt; OLE DB Speed
Programming the OLE DB API Directly may take a very long time to master.

Explanation from M$.
ActiveX Data Objects (ADO) is a high-level, easy-to-use interface to OLE DB.
OLE DB is a low-level, high-performance interface to a variety of data
stores.
ODBC is another low-level, high-performance (maybe not-so high-performance,
I think) interface that is designed specifically for relational data stores.

ADO provides a layer of abstraction between your client or middle-tier
application and the low-level OLE DB interfaces. ADO uses a small set of
Automation objects to provide a simple and efficient interface to OLE DB.
This interface makes ADO the perfect choice for developers in higher level
languages, such as Visual Basic and VBScript, who want to access data
without having to learn the intricacies of COM and OLE DB.

A Note on Providers from M$:
You are strongly encouraged to use one of the native OLE DB Providers
instead of the Microsoft Open Database Connectivity (ODBC) Provider. Native
OLE DB Providers provide better application stability and performance.

If you want more info, go to http://msdn.microsoft.com/data
Then drill down from &amp;quot;Data Access-&amp;gt;Reference.

HTH, Matt
---
Outgoing mail is certified Virus Free.
Regards, Matt
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 12/5/2003


-- 
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] 
m.gmane.org&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/86</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/87/Clipper+-+History.html</guid><title>Clipper - History</title><pubDate>Tue, 24 Jun 2008 23:11:14 -0600</pubDate><link>http://news.xb2.net/xfree.public/87/Clipper+-+History.html</link><comments>http://news.xb2.net/xfree.public/87/Clipper+-+History.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Autor: 	Gabriel Pascual pascalisg[at]yahoo[punto]com	 92
Fecha: 	09/05/2008 04:28:11
Asunto: RE:Que opinan de xbase-alaska

A ver.... el amigo Juan Francisco pregunto....

Que opinan de Xbase++ - Alaska....

No pregunto.... &amp;#191; quienes usan FiveWin ?... cawendi.

Xbase++ es un compilador de 32 bits para CA-Clipper, similar a xHarbour, 
no es un proyecto gratuito, es un producto comercial de la casa Alemana 
Alaska Software.

Es un producto muy interesante, porque sus creadores son ni mas ni menos 
que los mismos autores del proyecto &amp;quot;ASPEN&amp;quot;, si son viejos en esto del 
Clipper sabran que el proyecto ASPEN era el original &amp;quot;Clipper para 
Windows&amp;quot; que mas tarde y debido a varios factores adversos termino en el 
malogrado Visual Objects.

Cuando Nantucket fue comprado por Computer Associates, se orden&amp;#243; a los 
equipos de programacion externos de Nantucket reportarse a la oficina de 
CA en Nueva York, los programadores alemanes del proyecto ASPEN 
renunciaron a la empresa.

Como consecuencia de eso y debido al acuerdo de confidencialidad con 
Nantucket / CA, estos programadores no podian hacer ningun desarrollo 
similar a Clipper o que le hiciera competencia, y durante casi 5 a&amp;#241;os 
trabajaron en un compilador Clipper para el OS/2 de IBM, esa fue la 
primera version del Xbase++, como compilador Clipper para OS/2.

Una vez que termin&amp;#243; el plazo de la confidencialidad, estos amigos 
comenzaron a comercializar el Xbase++ como compilador Clipper de 32 bits 
para Plataformas Windows y se olvidaron del OS/2.

De entrada tu puedes tomar tu codigo Clipper tal cual, y Xbase++ se lo 
va a tragar completito, es mas tus mismos archivos .CLP y RMK que usas 
para Compilar tus programas Clipper son reconocidos e interpretrados por 
el Xbase ++, la sintaxis de compilacion es similar a la de Clipper , 
solo que en vez de ser:

Clipper programa /m /n .....

es:

xbpp programa /m /n .....

A diferencia de (x)Harbour no genera c&amp;#243;digo en C, genera OBJ y EXEs 
directos de 32 bits para Windows modo consola, hoy por hoy, Xbase++ 
puede ser una estupenda herramienta para pasar tus programas a 32 bits 
sin las complicaciones del xHarbour, y a un precio relativamente barato.

Tiene cosas super interesantes, como un componente para aplicaciones WEB 
para internet llamado WAA (Web Application Adaptor), las &amp;quot;Xbase Parts&amp;quot; 
que son funcionalidades adicionales como acceso a bases de datos SQL, y 
terminales graficas, explico esto mas adelante.

Las pegas:

1) Requiere de DLLs externos y muchos, de entrada el Runtime no va 
incluido dentro del EXE, son 2 DLLs de 1.3 megas cada uno. Los motores 
de base de datos tambien son DLLs, y la terminales graficas son mas 
DLLs. En total un EXE Xbase++ va a compa&amp;#241;ado por lo menos de 5 DLLs 
adicionales. Tambien es posible pegar todas estas DLLs en un solo EXE, 
pero el EXE te queda por lo menos de 8 Megas (para aplicacion en ventana 
de ms-dos, no grafica)

2) Hay muchos componentes que son &amp;quot;Xbase Parts&amp;quot;, esto es bueno y es 
malo, en primer lugar es bueno proque encuentras mucha funcionalidad 
adicional que no encontraras en (x)Harbour si no es a un costo 
adicional, por ejemplo existe un RDD para archivos de Texto, esto es 
simp&amp;#225;tico, puedes indexar un texto en base a un critero propio y hacer 
busquedas sobre ese texto, tambi&amp;#233;n tienes un RDD para SQL, esta 
funcionalidad en (x)Harbour por ejemplo tienes que comparla por 
separado, pero por otro lado el motor de tratamiento SQL es maravilloso, 
tienes 3 terminales graficas: La terminal Texto normal, una terminal 
gr&amp;#225;fica &amp;quot;hibrida&amp;quot; (medio texto / medio windows) y una Terminal 
totalmente Windows.

3) El RDD para ADS se vende, esto se me hace una gamberrada, TODOS los 
clientes de ADS para todos los lenguajes de programaci&amp;#243;n, .NET incluido 
son GRATIS, excepto el de Xbase++, que aparte de ser caro, no tiene toda 
la funcionalidad que tiene el de (x)Harbour por ejemplo, esa fue una de 
las razones por las cuales no nos cambiamos a Xbase++ en su momento.

4) La terminal para Windows es MUY deficiente, soporta nativamente solo 
los controles b&amp;#225;sicos de Windows, y la interfaz es ESPANTOSA, vamos, 
para meterle susto al miedo, los programas Windows hechos en Xbase++ son 
horribles, feos de co.... muy feos. Si quieres algo mas estetico, tienes 
que comprar componentes visuales por separado, que los hay y muy buenos.

Actualmente est&amp;#225;n trabajando en su interfaz visual (como todos) el 
proyecto se llama Visual Xbase++ y forma parte delproyecto &amp;quot;ARTICA&amp;quot;, una 
nueva plataforma de desarrollo basada 100% en SQL pero usando el 
lenguaje Clipper de toda la vida.

Son una comunidad muy activa, hacen su DevCon cada a&amp;#241;o en Alemania y se 
reune bastante gente para las conferencias.

Mirate mas informacion en www.alaska-software.com

------------------------------------------------------------------------

Por otro lado buscando mi historia encontre esto:


http://www.futurecast.com/futurechronicles/2001_bttf.htm

Regards
Osvaldo Ramirez&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/87</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/88/Re%3a+Postgree+%2b+Ado.html</guid><title>Re: Postgree + Ado</title><pubDate>Wed, 25 Jun 2008 20:26:50 +0200</pubDate><link>http://news.xb2.net/xfree.public/88/Re%3a+Postgree+%2b+Ado.html</link><comments>http://news.xb2.net/xfree.public/88/Re%3a+Postgree+%2b+Ado.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hola,

Precisando &amp;lt;ggg&amp;gt;
&amp;gt; Xbase++ -&amp;gt; ot4xb -&amp;gt; api postgresql -&amp;gt; database
ok. Bueno incluso si alguien quiere saltarse ot4xb pues se puede igual usando DllCall() solo que con ot4xb es m&amp;#225;s facil.

DllCall() es un pelin m&amp;#225;s lento que FpQCall() de ot4xb y DllExecuteCall() un pel&amp;#237;n m&amp;#225;s r&amp;#225;pido siempre que no tengas 
que convertir ni comprobar  ning&amp;#250;n par&amp;#225;metro.  

&amp;gt;     Xbase++ -&amp;gt; sqlexpress++ -&amp;gt; odbc -&amp;gt; api postgresql -&amp;gt; database
Xbase++ -&amp;gt; sqlexpress++ -&amp;gt; odbc -&amp;gt; driver odbc -&amp;gt; api postgresql -&amp;gt; database

&amp;gt;     Xbase++ -&amp;gt; COM/ActiveX -&amp;gt; OLE DB - &amp;gt; database
Xbase++ -&amp;gt; COM/ActiveX -&amp;gt; OLE DB - &amp;gt; driver oledb -&amp;gt; api de postgres -&amp;gt; database

Mi consejo es que para no complicarse la vida lo mejor es usar SQLExpress, te maneja cursores,
reordena los en el lado del cliente y tiene opci&amp;#243;n de traerse records en background al mismo tiempo 
que se estan mostrando en un browse

A mi ADO me encanta para usarlo desde C++, funciona muy r&amp;#225;pido es muy facil de usar y si encima
lo usas con los Smart Pointers de VC++ pues ni te preocupas de hacer Release o de incrmentar la 
referencia de los objetos, el compilador se ocupa automaticamente de todo.

Ahora usar ADO con Xbase++ en primer lugar el soporte ActiveX de Xbase++ no es precisamente demasiado r&amp;#225;pido
en la V 2.0 de Xbase++ el GC llamar&amp;#225; automaticamente a un metodo destructor de nuestros objetos, pero hoy por hoy
hay que llevar el control manualmente asi que tenemos 2 cosas en contra: velocidad y complejidad.

Ahora no hay ning&amp;#250;n probema en que FRAX acceda a la base de datos usando ADO y la aplicaci&amp;#243;n lo haga usando ODBC 
o incluso usando el API de postgres directamente.

Saludos,

Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/88</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/89/Re%3a+Reporter.+Comment+of+Sergei+in+xbase%2b%2b.data+access.html</guid><title>Re: Reporter. Comment of Sergei in xbase++.data access</title><pubDate>Thu, 26 Jun 2008 00:39:09 +0200</pubDate><link>http://news.xb2.net/xfree.public/89/Re%3a+Reporter.+Comment+of+Sergei+in+xbase%2b%2b.data+access.html</link><comments>http://news.xb2.net/xfree.public/89/Re%3a+Reporter.+Comment+of+Sergei+in+xbase%2b%2b.data+access.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;If some native Postgress DBE for Xbase++ exists then you can use it.
FastReport (SetWorkArea() etc) uses current DBE, it's no problem.

And in ANY case SetUserDataSet() exists where you can form any dataset that
you need.
---------------

Si usas un DBE nativo para Postgres podr&amp;#225;s usarlo con Fastreports

Y en cualquier caso podr&amp;#225;s usar SetUserDataSet() para formar cualquier 
dataset que necesites.&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/89</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/90/Re%3a+Problems+with+PostgreSQL.html</guid><title>Re: Problems with PostgreSQL</title><pubDate>Fri, 27 Jun 2008 13:14:58 +0200</pubDate><link>http://news.xb2.net/xfree.public/90/Re%3a+Problems+with+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/90/Re%3a+Problems+with+PostgreSQL.html</comments><author>Hubert.Brandel@gmx.de</author><description>&lt;pre&gt;Osvaldo Ramirez schrieb:
&amp;gt; Solved guys
&amp;gt; 
&amp;gt; thanks a lot
&amp;gt; Osvaldo Ramirez wrote:

hi,

would be nice to see how ...
  Bye
Hubert&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/90</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/91/Re%3a+Problems+with+PostgreSQL.html</guid><title>Re: Problems with PostgreSQL</title><pubDate>Fri, 27 Jun 2008 12:11:16 -0600</pubDate><link>http://news.xb2.net/xfree.public/91/Re%3a+Problems+with+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/91/Re%3a+Problems+with+PostgreSQL.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Dear Hubert Brandel

Appear that, If I run manually, I didnt have enought rights ( Vista 
Ultimate ), but I did, from start-programs-pgAdminII 1.8-Start Service.

HTH Hubert

Do you have the same problem ?

Best Regards
Osvaldo Ramirez


wrote:
&amp;gt; Osvaldo Ramirez schrieb:
&amp;gt;&amp;gt; Solved guys
&amp;gt;&amp;gt;
&amp;gt;&amp;gt; thanks a lot
&amp;gt;&amp;gt; Osvaldo Ramirez wrote:
&amp;gt; 
&amp;gt; hi,
&amp;gt; 
&amp;gt; would be nice to see how ...
&amp;gt;  Bye
&amp;gt; Hubert&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/91</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/92/Off+Topic.html</guid><title>Off Topic</title><pubDate>Fri, 04 Jul 2008 18:46:07 -0600</pubDate><link>http://news.xb2.net/xfree.public/92/Off+Topic.html</link><comments>http://news.xb2.net/xfree.public/92/Off+Topic.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Hola a todos

Anexo unas fotos de mi Ciudad.

Saludos
Osvaldo Ramirez
Cd. Juarez Chihuahua, Mexico&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/92</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/93/Re%3a+Off+Topic.html</guid><title>Re: Off Topic</title><pubDate>Sat, 5 Jul 2008 12:27:09 +0200</pubDate><link>http://news.xb2.net/xfree.public/93/Re%3a+Off+Topic.html</link><comments>http://news.xb2.net/xfree.public/93/Re%3a+Off+Topic.html</comments><author>pbn_NOSPAM_@pablob.com</author><description>&lt;pre&gt;Hola Osvaldo,

Las he quitado del mensaje y las he puesto en 
http://www.xbwin.com/Osvaldo/CIUDADJUAREZ.zip

Imaginate alguien que tenga que sincronizar el NNTP con una conexi&amp;#243;n lenta, le metes un tocho de 8MB
junto con el mensaje. 

Eso si me gust&amp;#243; mucho ver esos paisajes.

Saludos,

Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/93</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/94/Re%3a+Off+Topic.html</guid><title>Re: Off Topic</title><pubDate>Sat, 05 Jul 2008 14:34:05 -0600</pubDate><link>http://news.xb2.net/xfree.public/94/Re%3a+Off+Topic.html</link><comments>http://news.xb2.net/xfree.public/94/Re%3a+Off+Topic.html</comments><author>ramirezosvaldo@yahoo.com</author><description>&lt;pre&gt;Hombre Pablo

Te agradesco bastante, no me percate del tama&amp;#241;o.

Saludos
Osvaldo Ramirez

P.S. No todo es violencia.

  Botella wrote:
&amp;gt; Hola Osvaldo,
&amp;gt; 
&amp;gt; Las he quitado del mensaje y las he puesto en 
&amp;gt; http://www.xbwin.com/Osvaldo/CIUDADJUAREZ.zip
&amp;gt; 
&amp;gt; Imaginate alguien que tenga que sincronizar el NNTP con una conexi&amp;#243;n lenta, le metes un tocho de 8MB
&amp;gt; junto con el mensaje. 
&amp;gt; 
&amp;gt; Eso si me gust&amp;#243; mucho ver esos paisajes.
&amp;gt; 
&amp;gt; Saludos,
&amp;gt; 
&amp;gt; Pablo Botella&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/94</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/95/Re%3a+Off+Topic.html</guid><title>Re: Off Topic</title><pubDate>Mon, 7 Jul 2008 08:54:05 +0200</pubDate><link>http://news.xb2.net/xfree.public/95/Re%3a+Off+Topic.html</link><comments>http://news.xb2.net/xfree.public/95/Re%3a+Off+Topic.html</comments><author>jomagava@gmail.com</author><description>&lt;pre&gt;Sienta bien un mensaje positivo al empezar la semana.&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/95</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/96/Re%3a+Off+Topic.html</guid><title>Re: Off Topic</title><pubDate>Mon, 7 Jul 2008 20:44:40 -0300</pubDate><link>http://news.xb2.net/xfree.public/96/Re%3a+Off+Topic.html</link><comments>http://news.xb2.net/xfree.public/96/Re%3a+Off+Topic.html</comments><author>jose.otermin@alaska-software.com</author><description>&lt;pre&gt;Osvaldo,

Muy buenas las vistas de Ciudad Jurez :)
Quiza caminando te tropieces con la calle Otermin jajaja.
Un abrazo desde la Pampa Hmeda

Jose Luis Otermin

&amp;quot;Osvaldo Ramirez&amp;quot; &amp;lt;ramirezosvaldo@yahoo.com&amp;gt; escribi en el mensaje 
news:2bab3ec0$784d5dd$c4de@news.xbwin.com...
&amp;gt; Hola a todos
&amp;gt;
&amp;gt; Anexo unas fotos de mi Ciudad.
&amp;gt;
&amp;gt; Saludos
&amp;gt; Osvaldo Ramirez
&amp;gt; Cd. Juarez Chihuahua, Mexico
&amp;gt;


--------------------------------------------------------------------------------


&amp;gt;&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/96</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/97/Re%3a+Problems+with+PostgreSQL.html</guid><title>Re: Problems with PostgreSQL</title><pubDate>Tue, 08 Jul 2008 17:28:05 +0200</pubDate><link>http://news.xb2.net/xfree.public/97/Re%3a+Problems+with+PostgreSQL.html</link><comments>http://news.xb2.net/xfree.public/97/Re%3a+Problems+with+PostgreSQL.html</comments><author>Hubert.Brandel@gmx.de</author><description>&lt;pre&gt;Osvaldo Ramirez schrieb:
&amp;gt; HTH Hubert
&amp;gt; 
&amp;gt; Do you have the same problem ?

Hi,

sorry, I was on holiday.

By now, I have still running MySQL on a Win2000 Pro PC, but who knows 
when the problems are comming ;-)

Bye
Hubert&lt;/pre&gt;</description><comment xmlns="http://wellformedweb.org/CommentAPI/">http://news.xb2.net/comment.api/xfree.public/97</comment></item><item><guid isPermaLink="true">http://news.xb2.net/xfree.public/98/Re%3a+necesito+conectarme+a+postgresql+sin+utilizar+ODBCDBE.html</guid><title>Re: necesito conectarme a postgresql sin utilizar ODB