pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jimmy <mpokky@126.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re:Re: Re: Re: Re: Re: Bug: ERROR: invalid cache ID: 42 CONTEXT: parallel worker
Date: Mon, 3 Sep 2018 11:10:33 +0800 (CST)
Message-ID: <197d639a.477b.1659d691377.Coremail.mpokky@126.com> (raw)
In-Reply-To: <CAEepm=2OFcVCNQ-X2+sp15qXjLvbuZ8uiCj6LVN19RphEmORbA@mail.gmail.com>
References: <4898e5c4.6fed.16546f8f8cf.Coremail.mpokky@126.com>
	<13291.1534512497@sss.pgh.pa.us>
	<6294a60f.3289.1655f8e02f6.Coremail.mpokky@126.com>
	<CAEepm=30uOeesrmZWBj6zFh-E2hByJseyoM2ZtUS2r0E5G9zyA@mail.gmail.com>
	<54e0ae04.5659.1656a88a43b.Coremail.mpokky@126.com>
	<CAA4eK1JQdeodo=K6TEe8Jf84wyZ6zR6Lckn=nQxdg7_Nk95HMQ@mail.gmail.com>
	<13b03126.380c.165793cceb0.Coremail.mpokky@126.com>
	<CAA4eK1KGv6KWXdNPyfQ57yY0Y0EqTWN9LTnoDrYqAvky+N+asA@mail.gmail.com>
	<492ca339.63e1.16579fee778.Coremail.mpokky@126.com>
	<CAEepm=3TJtzvvk-g84a8VPLSv79oxkeP5YU7tGF1waE8Na83gA@mail.gmail.com>
	<CAEepm=2OFcVCNQ-X2+sp15qXjLvbuZ8uiCj6LVN19RphEmORbA@mail.gmail.com>



hi,I  exported the data into the normal postgresql table from foreign table by oracle_fdw.
Now I use four normal tables to query data, not use foreign table .
but it still throws the error like below:
So I think maybe that is not much related with oracle_fdw, because I use the normal tables of Postgresql to query data.
--------------------------------------
ERROR: invalid cache ID: 42 CONTEXT: parallel worker 
SQL 状态:XX000
-------------------------------------- 
I test the same sql in postgres-bigsql-10.5 for windows version, that still throws the error like above.
and the quantity of these tables' field are very large , every tables has more than 800 fields.
Would it make these errors .
Or maybe would the sql I execute has some mistakes.
I am confused.What is wrong.
The sql has been provided before.
I use some unique table indexs like this:
create unique index tableB_id1 on tableB(x);






At 2018-08-27 20:54:27, "Thomas Munro" <thomas.munro@enterprisedb.com> wrote:
>On Mon, Aug 27, 2018 at 11:19 PM Thomas Munro
><thomas.munro@enterprisedb.com> wrote:
>> Just want to double check something: are you sure you're using
>> oracle_fdw 2.0.0?  It seems that the earlier versions suffered from a
>> problem with exactly the symptom you describe (except the error said
>> 41 instead of 42, but that's expected because the enumerator values
>> moved):
>>
>> https://www.postgresql.org/message-id/11960.1511116873%40sss.pgh.pa.us
>>
>> But that was fixed here:
>>
>> https://github.com/laurenz/oracle_fdw/commit/4accfebb33c316d71da73d341dac796df813638c
>
>Ah, I missed the fact that the 2.0.0 release didn't have that fix, and
>there hasn't been a new release since.  So this is an issue to take up
>on the oracle_fdw issue tracker.
>
>-- 
>Thomas Munro
>http://www.enterprisedb.com


view thread (12+ messages)

Message-ID: <197d639a.477b.1659d691377.Coremail.mpokky@126.com>
Permalink:  ../197d639a.477b.1659d691377.Coremail.mpokky@126.com/
Also on:    postgresql.org/message-id/197d639a.477b.1659d691377.Coremail.mpokky@126.com

 · 

reply

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: mpokky@126.com, thomas.munro@enterprisedb.com, amit.kapila16@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Bug: ERROR: invalid cache ID: 42 CONTEXT: parallel worker
  In-Reply-To: <197d639a.477b.1659d691377.Coremail.mpokky@126.com>
  References: <4898e5c4.6fed.16546f8f8cf.Coremail.mpokky@126.com> <13291.1534512497@sss.pgh.pa.us> <6294a60f.3289.1655f8e02f6.Coremail.mpokky@126.com> <CAEepm=30uOeesrmZWBj6zFh-E2hByJseyoM2ZtUS2r0E5G9zyA@mail.gmail.com> <54e0ae04.5659.1656a88a43b.Coremail.mpokky@126.com> <CAA4eK1JQdeodo=K6TEe8Jf84wyZ6zR6Lckn=nQxdg7_Nk95HMQ@mail.gmail.com> <13b03126.380c.165793cceb0.Coremail.mpokky@126.com> <CAA4eK1KGv6KWXdNPyfQ57yY0Y0EqTWN9LTnoDrYqAvky+N+asA@mail.gmail.com> <492ca339.63e1.16579fee778.Coremail.mpokky@126.com> <CAEepm=3TJtzvvk-g84a8VPLSv79oxkeP5YU7tGF1waE8Na83gA@mail.gmail.com> <CAEepm=2OFcVCNQ-X2+sp15qXjLvbuZ8uiCj6LVN19RphEmORbA@mail.gmail.com> <197d639a.477b.1659d691377.Coremail.mpokky@126.com>

* 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