On Tue, Aug 02, 2005 at 12:56:12AM -0300, Enrique J. Ros Gadea wrote:
> Estiamdos pgsql-es-ayuda:
>
> Me podrían decir como puedo sacar los nombres de los campos de una tabla
select attname from pg_attribute
where attrelid = 'nombre de tabla'::regclass and
attnum > 0 and not attisdropped;
--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"Just treat us the way you want to be treated + some extra allowance
for ignorance." (Michael Brusser)