RE: consulta create function

From: "Cesar Erices" <caerices(at)gmail(dot)com>
To: "'Alvaro Herrera'" <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: "Pgsql-Es-Ayuda" <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: RE: consulta create function
Date: 2006-11-15 12:50:53
Message-ID: 455b0d23.1026f937.43b8.ffffe084@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda


-----Mensaje original-----
De: Alvaro Herrera [mailto:alvherre(at)alvh(dot)no-ip(dot)org]
Enviado el: Martes, 14 de Noviembre de 2006 17:02
Para: Cesar Erices
Asunto: Re: [pgsql-es-ayuda] consulta create function

Cesar Erices wrote:
> select listarpacientes(1)
> hago un select y la función, esto es por pgadminIII

Prueba con
select * from listarpacientes(1)

[Cesar Erices Vergara] Me sale el siguiente error:
[Cesar Erices Vergara] ERROR: a column definition list is required for
functions returning "record"

--
Alvaro Herrera
http://www.amazon.com/gp/registry/5ZYLFMCVHXC
Essentially, you're proposing Kevlar shoes as a solution for the problem
that you want to walk around carrying a loaded gun aimed at your foot.
(Tom Lane)

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Cesar Erices 2006-11-15 13:03:39 RE: consulta create function
Previous Message Mario Soto 2006-11-15 02:39:02 Re: largeobject problem