pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: los_mas_buscados1995@hotmail.com
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-es-ayuda@postgresql.org
Subject: Re: BUG #13834: llenado
Date: Mon, 28 Dec 2015 13:12:07 -0300
Message-ID: <20151228161207.GI58441@alvherre.pgsql> (raw)
In-Reply-To: <20151227234825.1092.30001@wrigleys.postgresql.org>
References: <20151227234825.1092.30001@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

For pgsql-bugs: Not a bug; feel free to ignore.  Moving to
pgsql-es-ayuda.

los_mas_buscados1995@hotmail.com wrote:

> Hola amigos una ayuda con los procedimientos almacenados.....
> Estoy realizando en un proyecto 

Hola Yamil.  Esto no es un bug, sino una petición de ayuda.  El
formulario que llenaste es sólo para bugs, por lo que tu pregunta está
fuera de lugar.  Además, el formulario espera que escribas en inglés.

Para hacer preguntas como la tuya en español, puedes usar
pgsql-es-ayuda@postgresql.org  Estoy poniendo esa lista en CC para
continuar allá si es necesario.  (Si respondes a este email, no olvides
quitar el CC a pgsql-bugs).

> CREATE OR REPLACE FUNCTION personass()
> RETURNS SETOF "record" AS
...
> $BODY$ language plpgsql
> SELECT * from personass() AS ("y" integer, "nombre" varchar);
> 
> Como puedo llamar desde php y mostrarlo en una tabla estas funcion de
> postgresql .........

Puedes simplemente invocar la función tal como lo harías con cualquier
consulta, y luego mostrar el resultado en una tabla tal como mostrarías
el resultado de cualquier consulta.

Saludos

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <20151228161207.GI58441@alvherre.pgsql>
Permalink:  ../20151228161207.GI58441@alvherre.pgsql/
Also on:    postgresql.org/message-id/20151228161207.GI58441@alvherre.pgsql

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, los_mas_buscados1995@hotmail.com, pgsql-es-ayuda@postgresql.org
  Subject: Re: BUG #13834: llenado
  In-Reply-To: <20151228161207.GI58441@alvherre.pgsql>
  References: <20151227234825.1092.30001@wrigleys.postgresql.org> <20151228161207.GI58441@alvherre.pgsql>

* 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