Finally I found I had /usr/local/pgsql/lib/libpq.so as a simbolic link
to libpq.so.3.1
My query works if I remove that simbolic link and create it again as a
simbolic link to libpq.so.2.2 !!
O> -----Mensaje original-----
O> De: Jeroen T. Vermeulen [mailto:jtv@xs4all.nl]
O> Enviado el: jueves, 01 de julio de 2004 16:12
O> Para: Carlos Ojea Castro
O> CC: pgsql-interfaces@postgresql.org
O> Asunto: Re: [INTERFACES]: query using kylix (delphi)
O>
O>
O> On Wed, Jun 30, 2004 at 09:13:33AM +0200, Carlos Ojea Castro wrote:
O>
O> > >Easiest way to find out may be to run your code in the debugger.
O> > >That should halt execution at the point of failure if
O> it's a memory
O> > >protection violation.
O> > >
O> > >I have no idea where your log would be if you're using Windows,
O> > >sorry!
O> > >
O> > I am using LINUX ! (debian woody)
O>
O> Good... Have you tried running your program in a debugger
O> yet? It ought to tell you whether this is a client-side
O> crash or a server-side error message. Another thing you
O> could try is to execute your queries manually from psql, the
O> command-line query interface.
O>
O>
O> Jeroen
O>