> daca ai sapat mai adanc si ai aflat raspunsul varsa-l si pe lista plz
n-am sapat prea mult (~de loc) dar poti incepe asa :
select attname,atttypid,attlen,atttypmod
from pg_attribute
where attrelid=(select oid
from pg_class
where relname='my_rel')
order by attnum;
Informatiile nu sunt explicite (pentru tip ai niste numere, ex
:1042=char(), 701=float8,...Lungimea unui char() este attlen-4 si alte
parascovenii, de aia spuneam ca ar trebui o functie sa le interpreteze
si sa-ti scrie ceva inteligibil.
Daca ai sursele de la pg poti sapa sa vezi cum fac ei comanda \d my_rel.
</my poor answer>
--
-------------------------------------------------------
Constantin Vasiliu * StipoSoft System Administrator
[EMAIL PROTECTED] * Linux Registered User #166419
-- tel:031/610215 ------------------- fax:031/610017 --
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.