Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/10/2010, 13:44
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: Parámetros en postgres

Como tipo de dato text.

CREATE FUNCTION func(nombre_tabla text)

dentro de la función debes hacer un execute

EXECUTE 'SELECT *FROM ' || nombre_tabla;

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming