alexander lunyov wrote:
> Hello.
>
> Freebsd 6.2, Postgresql 8.3 from ports.
>
> I'm trying to add some features to threaded application, like sql logs.
> I've changed application according to examples of libpq usage (simple
> things - connect, inserts, disconnect), everything works for a little
> time (under 1 minute), then i get error:
>
> Fatal error 'Exceeded maximum lock level' at line 519 in file
> /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 844913743)
This is clearly not a PG problem -- I'd think there's a bug in your own
code.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support