pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: andrea.ferranti@wolterskluwer.com
Subject: BUG #15454: Endless lseek
Date: Tue, 23 Oct 2018 15:52:22 +0000
Message-ID: <15454-e276601a018355c7@postgresql.org> (raw)

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



Message-ID: <15454-e276601a018355c7@postgresql.org>
Permalink:  ../15454-e276601a018355c7@postgresql.org/
Also on:    postgresql.org/message-id/15454-e276601a018355c7@postgresql.org

 · 

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: noreply@postgresql.org, andrea.ferranti@wolterskluwer.com
  Subject: Re: BUG #15454: Endless lseek
  In-Reply-To: <15454-e276601a018355c7@postgresql.org>
  References: <15454-e276601a018355c7@postgresql.org>

* 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