Re: Re: [pgsql-es-ayuda] Problemas para terminar una función PL/Pgsql

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: dculotta(at)fibertel(dot)com(dot)ar, pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Re: [pgsql-es-ayuda] Problemas para terminar una función PL/Pgsql
Date: 2007-01-13 18:22:33
Message-ID: c2d9e70e0701131022l5f06c42co7e290931fd419956@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 1/12/07, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> dculotta(at)fibertel(dot)com(dot)ar escribió:
>
> >
> > Me devuelve la variable strcond nula.
> > :-(
>
> o inicializala a la cadena vacia antes de hacer las concatenaciones.
>

esa es la solucion... el esta inicializando strcond a NULL y luego
cada vez que va a asignarle un valor hace strcond := strcond ||
'alguna_cadena' lo cual, obviamente, le va a dejar nula esa variable

--
Atentamente,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message GABRIEL COLINA 2007-01-13 21:49:37 Re: Sitio en espaniol
Previous Message Jaime Casanova 2007-01-13 18:03:41 Re: Cambiar order de columnas