"Juan C. Aragon" <juan(at)keisercomputers(dot)com> writes:
> 2009-07-16 16:54:05 EDT WARNING: out of shared memory
> 2009-07-16 16:54:05 EDT FATAL: out of shared memory
You might be running out of lock-table space ... does raising
max_locks_per_transaction help? (Note you need a postmaster restart
to change that.)
regards, tom lane