pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: biazotogabriel@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15244: Inherited table queries return null lines that do not exist
Date: Fri, 15 Jun 2018 17:57:50 -0400
Message-ID: <6046.1529099870@sss.pgh.pa.us> (raw)
In-Reply-To: <152909782124.24805.5442934323480694751@wrigleys.postgresql.org>
References: <152909782124.24805.5442934323480694751@wrigleys.postgresql.org>

=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> I was working with table inheritance and started having problems with my
> queries.
> I noticed that every time I perform a query on a parent table of an
> inheritance and perform a query on any table then with more records than the
> preceding table, postgres returns me rows with all records in null that do
> not exist in the table that I'm consulting.

FWIW, I tried this case with 1000000 somewhat-random records per table,
and couldn't see any misbehavior.   I wonder how much is "many records"
for you.  Also, what client-side code are you using?  If it's not psql,
can you reproduce the problem in psql?

			regards, tom lane




view thread (2+ messages)

Message-ID: <6046.1529099870@sss.pgh.pa.us>
Permalink:  ../6046.1529099870@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6046.1529099870@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, biazotogabriel@gmail.com
  Subject: Re: BUG #15244: Inherited table queries return null lines that do not exist
  In-Reply-To: <6046.1529099870@sss.pgh.pa.us>
  References: <152909782124.24805.5442934323480694751@wrigleys.postgresql.org> <6046.1529099870@sss.pgh.pa.us>

* 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