Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;' - Mailing list pgsql-general

From Tom Lane
Subject Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'
Date
Msg-id 5198.1587991204@sss.pgh.pa.us
Whole thread Raw
In response to PostgreSQL client hangs sometimes on 'EXEC SQL PREPARE sid_sisisinst FROM :select_anw;'  (Matthias Apitz <guru@unixarea.de>)
Responses Re: PostgreSQL client hangs sometimes on 'EXEC SQL PREPAREsid_sisisinst FROM :select_anw;'
List pgsql-general
Matthias Apitz <guru@unixarea.de> writes:
> I encounter from time to time that one of our ESQL/C clients hangs with
> the details described below for ever, while accessing on startup a table
> 'sisisinst' which has only some 50 rows, all of CHAR columns. Other ESQL/C clients
> start up fine (they all check this table 'sisisinst' on startup to
> verify the correct version of our application) Also SQL works
> fine.

> What can I do to get to the source of the problem? Thanks

Can you get a stack trace from the connected backend?  Or even just look
at what it's doing according to pg_stat_activity?  (If it's a reasonably
modern server, the wait-condition fields would be interesting.)

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to debug "background worker "parallel worker" (PID 32152) was terminated by signal 11: Segmentation fault"
Next
From: Paul Förster
Date:
Subject: Re: HOST variable in psql