From: Laurenz Albe <laurenz.albe@cybertec.at>
To: stepya@ukr.net
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14581: invalid cache ID: 41 CONTEXT: parallel worker
Date: Mon, 20 Nov 2017 10:39:13 +0100
Message-ID: <1511170753.2615.4.camel@cybertec.at> (raw)
In-Reply-To: <20170307141201.25060.95512@wrigleys.postgresql.org>
References: <20170307141201.25060.95512@wrigleys.postgresql.org>
stepya@ukr.net wrote:
> The following bug has been logged on the website:
>
> Bug reference: 14581
> Logged by: Stepan Yankevych
> Email address: stepya@ukr.net
> PostgreSQL version: 9.6.2
> Operating system: RedHat
> Description:
>
> Time to time i have invalid cache ID: 41 while running simple query with
> parallelism.
> for example
> select count(1) from client_order where date_id = 20170301;
> Crashes with (see error log)
>
> < 2017-03-07 08:57:45.312 EST >ERROR: invalid cache ID: 41
> < 2017-03-07 08:57:45.312 EST >ERROR: invalid cache ID: 41
> < 2017-03-07 08:57:45.312 EST >ERROR: invalid cache ID: 41
> < 2017-03-07 08:57:45.312 EST >ERROR: invalid cache ID: 41
> < 2017-03-07 08:57:45.312 EST >ERROR: invalid cache ID: 41
> < 2017-03-07 08:57:45.312 EST [unknown] SELECT>ERROR: invalid cache ID: 41
>
> < 2017-03-07 08:57:45.312 EST [unknown] SELECT>CONTEXT: parallel worker
> < 2017-03-07 08:57:45.312 EST [unknown] SELECT>STATEMENT: select count(1)
Could it be that the oracle_fdw extension was loaded?
There was a bug reported yesterday that would explain this error:
https://github.com/laurenz/oracle_fdw/issues/215
If oracle_fdw is involved, the latest commit should fix the problem.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: laurenz.albe@cybertec.at, stepya@ukr.net
Subject: Re: BUG #14581: invalid cache ID: 41 CONTEXT: parallel worker
In-Reply-To: <1511170753.2615.4.camel@cybertec.at>
References: <20170307141201.25060.95512@wrigleys.postgresql.org> <1511170753.2615.4.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox