From: Flavio Roche <feroche@uci.cu>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Lazaro Ruben Garcia Martinez <lgarciam@vnz.uci.cu>
Cc: ALEXANDER JOSE <aangelj@hotmail.com>
Cc: pgsql-es-ayuda@postgresql.org
Subject: Re: Tipos de datos Funciones
Date: Tue, 8 Apr 2014 09:33:33 -0400 (CDT)
Message-ID: <719832605.3351099.1396964013506.JavaMail.zimbra@uci.cu> (raw)
In-Reply-To: <20140408033350.GI5822@eldon.alvh.no-ip.org>
References: <BAY182-W10D5E6C1ECD558D09C3DDBA56F0@phx.gbl>
<48623.192.168.207.54.1396620001.squirrel@webmail.etecsa.cu>
<BAY182-W332E86D390DB30938C942FA56B0@phx.gbl>
<294D3D02D5E18D42827B2ECFEADEB688D11595EA3C@mx-interno.vnz.uci.cu>
<20140408033350.GI5822@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-es-ayuda>
Buenos dias, necesito saber el tipo de dato que devuelve una función, de momento utilizo el procedimiento
pg_catalog.pg_get_function_result(p.oid) para conocer esto, pero no me sirve ya q en caso de que la función se retorne como setof el procedimiento entonces me devolveria SETOF tipodato, y solo necesito el tipo de dato, y no me conviene parsear el string que devuelve el procedimiento pg_catalog.pg_get_function_result para quitar la palabra SETOF cuando lo tenga.
Hay alguna otra forma de saber que tipo de dato devuelve una función y devuleva el tipo de dato solamente??
Saludos y gracias por la ayuda...
________________________________________________________________________________________________
I Conferencia CientÃfica Internacional UCIENCIA 2014 en la UCI del 24 al 26 de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu
-
Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda@postgresql.org)
Para cambiar tu suscripción:
http://www.postgresql.org/mailpref/pgsql-es-ayuda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: feroche@uci.cu, alvherre@2ndquadrant.com, lgarciam@vnz.uci.cu, aangelj@hotmail.com, pgsql-es-ayuda@postgresql.org
Subject: Re: Tipos de datos Funciones
In-Reply-To: <719832605.3351099.1396964013506.JavaMail.zimbra@uci.cu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox