On 9/24/07, genesis <gerfonpin@xxxxxxx> wrote: > Amigos tengo el siguiente problema, soy nuevo en postgres y no > comprendo muy bien, bueno en realidad para nada como hacer > procedimientos almacenados en postgres que me devuelvan un dataset.... > > Friends, I'm new in postgress and dont know at all anything about > stored procedures in postgresql, > can u help me and teach me how i can get a cursor for a dataset? > http://www.postgresql.org/docs/current/static/plpgsql-cursors.html http://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-STATEMENTS-RETURNING espero que te sirva - hope it helps you -- Atentamente, Jaime Casanova "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to produce bigger and better idiots. So far, the universe is winning." Richard Cook ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match