I don't know if this really is a bug but it seems wrong to me:
psql -A --csv -Xc "select * from pg_namespace order by 1"
gives a difference result than
psql --csv -A -Xc "select * from pg_namespace order by 1"
I would say both should give the same result, and
that result should be the same as from:
psql --csv -Xc "select * from pg_namespace order by 1"
Thanks,
Erik Rijkers