Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXWA0-0007ti-6c for pgsql-es-ayuda@arkaria.postgresql.org; Tue, 08 Apr 2014 13:33:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXW9z-0004Uo-G7 for pgsql-es-ayuda@arkaria.postgresql.org; Tue, 08 Apr 2014 13:33:55 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXW9y-0004Uh-FY for pgsql-es-ayuda@postgresql.org; Tue, 08 Apr 2014 13:33:54 +0000 Received: from mx3.uci.cu ([200.55.140.180]) by makus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXW9u-0005FX-Qx for pgsql-es-ayuda@postgresql.org; Tue, 08 Apr 2014 13:33:53 +0000 Received: (qmail 1694 invoked from network); 8 Apr 2014 13:33:47 -0000 Received: from unknown (HELO wmail3.uci.cu) (10.0.0.86) by 0 with SMTP; 8 Apr 2014 13:33:47 -0000 Received: from localhost (localhost [127.0.0.1]) by wmail3.uci.cu (Postfix) with ESMTP id AA152241FBF; Tue, 8 Apr 2014 09:33:47 -0400 (CDT) Received: from wmail3.uci.cu ([127.0.0.1]) by localhost (wmail3.uci.cu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VYBYpnHPEpZq; Tue, 8 Apr 2014 09:33:33 -0400 (CDT) Received: from localhost (localhost [127.0.0.1]) by wmail3.uci.cu (Postfix) with ESMTP id E56C0248010; Tue, 8 Apr 2014 09:33:33 -0400 (CDT) X-Amavis-Modified: Mail body modified (using disclaimer) - wmail3.uci.cu X-Virus-Scanned: amavisd-new at uci.cu Received: from wmail3.uci.cu ([127.0.0.1]) by localhost (wmail3.uci.cu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FKhFwVWBHtWJ; Tue, 8 Apr 2014 09:33:33 -0400 (CDT) Received: from wmail3.uci.cu (wmail3.uci.cu [10.0.0.86]) by wmail3.uci.cu (Postfix) with ESMTP id C3684241FBF; Tue, 8 Apr 2014 09:33:33 -0400 (CDT) Date: Tue, 8 Apr 2014 09:33:33 -0400 (CDT) From: Flavio Roche To: Alvaro Herrera Cc: Lazaro Ruben Garcia Martinez , ALEXANDER JOSE , pgsql-es-ayuda@postgresql.org Message-ID: <719832605.3351099.1396964013506.JavaMail.zimbra@uci.cu> In-Reply-To: <20140408033350.GI5822@eldon.alvh.no-ip.org> References: <48623.192.168.207.54.1396620001.squirrel@webmail.etecsa.cu> <294D3D02D5E18D42827B2ECFEADEB688D11595EA3C@mx-interno.vnz.uci.cu> <20140408033350.GI5822@eldon.alvh.no-ip.org> Subject: Re: Tipos de datos Funciones MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.56.20.57] X-Mailer: Zimbra 8.0.5_GA_5839 (ZimbraWebClient - FF27 (Win)/8.0.5_GA_5839) Thread-Topic: Tipos de datos Funciones Thread-Index: 7+SKnhntmbccir101KJ/11Fitfu6Cg== X-Pg-Spam-Score: 0.5 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-es-ayuda Precedence: bulk Sender: pgsql-es-ayuda-owner@postgresql.org Buenos dias, necesito saber el tipo de dato que devuelve una funci=C3=B3n, = de momento utilizo el procedimiento pg_catalog.pg_get_function_result(p.oid) para conocer esto, pero no me sirv= e ya q en caso de que la funci=C3=B3n se retorne como setof el procedimient= o 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=C3=B3n y= devuleva el tipo de dato solamente?? Saludos y gracias por la ayuda... ___________________________________________________________________________= _____________________ I Conferencia Cient=C3=ADfica 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=F3n: http://www.postgresql.org/mailpref/pgsql-es-ayuda