Re: text2ltree

From: Mario Soto Cordones - Venezuela <msotocl(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)surnet(dot)cl>
Cc: "pgsql-es-ayuda(at)postgresql(dot)org" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: text2ltree
Date: 2005-05-24 20:38:41
Message-ID: e9b17cde05052413384326f00@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El 24/05/05, Alvaro Herrera<alvherre(at)surnet(dot)cl> escribió:
> On Tue, May 24, 2005 at 02:27:03PM -0400, Mario Soto Cordones wrote:
>
> > el query es:
> >
> > select text2ltree('''' || serie || '''') from temporal
> >
> > el error es ERROR: syntax error at position 0 near "'"
> >
> > de la unica forma que funciona es
> >
> >
> > select text2ltree('serie') from temporal;
> >
> > porque el cree que voy a convertir la palabra 'serie', pero yo quiero
> > convertir el valor del campo serie
>
> Hum, probaste con
>
> select text2ltree(serie) from temporal;

si y aun asi no funciona, voy a eliminar el campo y volver a crearlo y
vera que pasa

Saludos

>
> --
> Alvaro Herrera (<alvherre[a]surnet.cl>)
> "Industry suffers from the managerial dogma that for the sake of stability
> and continuity, the company should be independent of the competence of
> individual employees." (E. Dijkstra)
>

--
cordialmente,

Ing. Mario Soto Cordones

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mario Cassanelli 2005-05-24 20:41:19 Re: TRIGGERS: lo prometido es ....
Previous Message Alvaro Herrera 2005-05-24 20:23:44 Re: Llamadas a funciones en C desde postgres