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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Sun, 29 Jun 2008 22:24:56 -0500
  • Message-id: <3073cc9b0806292024g4f8e031dn76d1c499744caec0(at)mail(dot)gmail(dot)com>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group