Skip site navigation (1) Skip section navigation (2)

Re: Return Query

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "Edwin Quijada" <listas_quijada(at)hotmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Return Query
Date: 2008-06-30 03:24:56
Message-ID: 3073cc9b0806292024g4f8e031dn76d1c499744caec0@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
On Sun, Jun 29, 2008 at 6:19 PM, Edwin Quijada
<listas_quijada(at)hotmail(dot)com> wrote:
>
> Consigo este error cuando lo hago asi
>
> ERROR:  structure of query does not match function result type
> CONTEXT:  PL/pgSQL function "f1" line 2 at RETURN QUERY
>

fijate que debe haber tantos parametros OUT como columnas en el select

-- 
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Guayaquil - Ecuador
Cel. (593) 87171157

In response to

Responses

pgsql-es-ayuda by date

Next:From: Gilberto Castillo MartínezDate: 2008-06-30 12:14:59
Subject: Re: [OT] Cubanos en la lista
Previous:From: Pablo MarreroDate: 2008-06-30 00:53:25
Subject: Re: indices

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group