Re: Postgres 12.1 : UPPER() in WHERE clause restarts server - Mailing list pgsql-general

From Thomas Munro
Subject Re: Postgres 12.1 : UPPER() in WHERE clause restarts server
Date
Msg-id CA+hUKGLT9NQrYrjuN8RaFb=Zim5wALCgFSvS4W0KKxBic0ik-w@mail.gmail.com
Whole thread Raw
In response to Re: Postgres 12.1 : UPPER() in WHERE clause restarts server  (Marc <postgres@arcict.com>)
Responses Re: Postgres 12.1 : UPPER() in WHERE clause restarts server
List pgsql-general
On Mon, Feb 10, 2020 at 4:35 AM Marc <postgres@arcict.com> wrote:
> We will keep the 12.1 in place so that we can run additional tests to assist to pin-point the issue.
>
> Feel free to ask but allow us to recover from these hectic days ;-)

Here's how to get a stack so we can see what it was doing, assuming
you have the Apple developer tools installed:

1.  Find the PID of the backend you're connected to with SELECT
pg_backend_pid().
2.  "lldb -p PID" from a shell to attach to the process, then "cont"
to let it continue running.
3.  Run the query in that backend and wait for the SIGKILL.
4.  In the lldb session, type "bt".

It'll only make sense if your PostgreSQL build has debug symbols, but let's see.



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Pre-version pg_upgrade syntax check
Next
From: "Nick Renders"
Date:
Subject: Re: Postgres 12.1 : UPPER() in WHERE clause restarts server