BUG #15454: Endless lseek - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15454: Endless lseek
Date
Msg-id 15454-e276601a018355c7@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15454
Logged by:          Andrea Ferranti
Email address:      andrea.ferranti@wolterskluwer.com
PostgreSQL version: 9.6.10
Operating system:   Ubuntu 16
Description:

Dear all, 
We have experienced a strange behaviour on PostgreSQL 9.6.10.

We have a series of query that move data from a table to another by using
the following logic.

create table A;
insert data into A from B;
drop B;
rename A to B;


in an operation we need to add a step to move some "remaining data" from A
to B by using the following logic:

INSERT INTO A SELECT X 
FROM B DEST_TABLE JOIN (
     SELECT CALC_METHOD AS S0, P_KEY AS S1, EXECUTION_NUMBER AS S2 
FROM AW_001_000012_000001 SOURCE_TABLE) 
     SOURCE_TABLE
     ON SOURCE_TABLE.S0 = DEST_TABLE.CALC_METHOD 
     AND SOURCE_TABLE.S1 = DEST_TABLE.KEY_DIM


pgsql-bugs by date:

Previous
From: Amit Langote
Date:
Subject: Re: BUG #15448: server process (PID 22656) was terminated byexception 0xC0000005
Next
From: PG Bug reporting form
Date:
Subject: BUG #15455: Endless lseek