fixed bug on lib/export.php
method "sql_fetchfield" of postgres.php (old library)  doesn't work.
Replaced with "sql_fetchrow"
fixed bug on lib/export.php
method "sql_fetchfield" of postgres.php (old library)  doesn't work.
Replaced with "sql_fetchrow"
Missing entry for qtfield in primary_keys.xml. Added