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: rainer.keuchel@allgeier-it.de
Subject: BUG #15713: Strange error with specific column name in join
Date: Mon, 25 Mar 2019 14:38:30 +0000
Message-ID: <15713-aaf78ea757146b23@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15713
Logged by:          Rainer Keuchel
Email address:      rainer.keuchel@allgeier-it.de
PostgreSQL version: 11.2
Operating system:   WIN7
Description:        

-- BUILD 11.0.2.19044

create table EuropeanArticleNumbers (id int);
insert into EuropeanArticleNumbers values(1);

create table EuropeanArticleNumbersX (id int);
insert into EuropeanArticleNumbersX values(1);

create table t2 (id int);
insert into t2 values (1);

-- error: column a.id does not exist
select * from EuropeanArticleNumbers a join t2 b on a.id = b.id;
-- ok
select * from EuropeanArticleNumbersX a join t2 b on a.id = b.id;



Message-ID: <15713-aaf78ea757146b23@postgresql.org>
Permalink:  ../15713-aaf78ea757146b23@postgresql.org/
Also on:    postgresql.org/message-id/15713-aaf78ea757146b23@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, rainer.keuchel@allgeier-it.de
  Subject: Re: BUG #15713: Strange error with specific column name in join
  In-Reply-To: <15713-aaf78ea757146b23@postgresql.org>
  References: <15713-aaf78ea757146b23@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