Olivier Hubaut <olivier(at)scmbb(dot)ulb(dot)ac(dot)be> writes:
> PANIC: could not open transaction-commit log directory
> (/usr/local/pgsql/annot/pg_clog): Too many open files
Try reducing max_files_per_process (in postgresql.conf) and/or
increasing the kernel's limit on number of open files (I think
you set this via sysctl in /etc/rc, but it may vary depending on
OS X version).
regards, tom lane