Re: [Pgsql-ayuda] Cual es el error

From: "Edwin Quijada" <listas_quijada(at)hotmail(dot)com>
To: alvherre(at)dcc(dot)uchile(dot)cl
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] Cual es el error
Date: 2003-09-02 21:10:23
Message-ID: BAY1-F127Xe48uYcYxJ00045d9e@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Hice lo que me dijiste, ya lo tenia asi anteriormente y decidi cambiarlo. Me
sigue saliendo el mismo error , como sino conociera el operador de igual

Error: ERROR: Unable to identify an operator '=' for types 'name' and
'character varying'
You will have to retype this query using an explicit cast
WARNING: Error occurred while executing PL/pgSQL function cortar_char
WARNING: line 8 at select into variables

>From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
>To: Edwin Quijada <listas_quijada(at)hotmail(dot)com>
>CC: Pgsql <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
>Subject: Re: [Pgsql-ayuda] Cual es el error
>Date: Tue, 2 Sep 2003 16:38:56 -0400
>
>On Wed, Sep 03, 2003 at 03:36:28AM -0400, Edwin Quijada wrote:
>
> > ERROR: Unable to identify an operator '=' for types 'name' and
>'character'
> > You will have to retype this query using an explicit cast
>
>Cambia los "bpchar" por "varchar"... bpchar es un nombre interno, me
>parece que no deberias usarlo. Ademas, no es el tipo que te interesa,
>creo.
>
>Otra cosa, por que usas "reg.lon"? No deberia ser reg.atttypmod? A
>menos que tengas "b.atttypmod AS lon"...
>
>Y finalmente, recuerda que tienes que restarle 4!
>
>--
>Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
>"Como puedes confiar en algo que pagas y que no ves,
>y no confiar en algo que te dan y te lo muestran?" (German Poo)

_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América
Latina y USA: www.yupimsn.com/empleos

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message xxavi 2003-09-02 21:29:30 [Pgsql-ayuda] habilitar las tildes en el prompt de psql(1)
Previous Message Carmen Gloria Sepulveda Dedes 2003-09-02 21:06:30 Re: [Pgsql-ayuda] Error LOG