I think that pg_dump should not quote identifiers that only contain
lower-case letters and underscores. That will make it easier to move
dumps to other database products, because PostgreSQL is off the spec in
matters case folding in identifiers. But it's just an idea; if the
performance hit would be too high, forget it.
(If you do this, then be careful about locale issues regarding what a
lower-case letter is. Better to restrict it to ASCII perhaps.)
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/