pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nicolas Seinlet <nicolas@seinlet.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Sort is generating rows
Date: Mon, 11 Jun 2018 10:00:05 -0700
Message-ID: <bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.com> (raw)
In-Reply-To: <CAMEUSaSzJvg8g6u9-CTpnq8v4Y6MMu4Ekzi+fVZbPAsm-c5KMQ@mail.gmail.com>
References: <CAMEUSaRx0UZ4Z0JGuaxbz3UtfMG9_q+v6pV0t41XzGOuVY307Q@mail.gmail.com>
	<64f3353c-d9c3-69fc-2621-ba85096275fa@aklaver.com>
	<CAMEUSaTO_2ybaf0ZPYH3-pXu_NVaDoov-SLMMj8B0xeMoneYAw@mail.gmail.com>
	<3851fe8c-8ff5-adfc-8fc0-f33b9a2be324@aklaver.com>
	<CAMEUSaR5OYkoxhcn8RkHLCGj7xDvydmo=7wQ=g8F0XgbOs+MJw@mail.gmail.com>
	<516671d6-13fd-2e24-2ec9-c7168d85229f@aklaver.com>
	<CAMEUSaSzJvg8g6u9-CTpnq8v4Y6MMu4Ekzi+fVZbPAsm-c5KMQ@mail.gmail.com>

On 06/10/2018 11:47 PM, Nicolas Seinlet wrote:
> Hi,
> 
> a currency rate can have no company, and is then applicable to 
> currencies which have no rate specific for the company.
> 

I see. So what happens if, for testing purposes, you eliminate the

r.company_id IS NULL OR

part?



-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (9+ messages)

Message-ID: <bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.com>
Permalink:  ../bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.com/
Also on:    postgresql.org/message-id/bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nicolas@seinlet.com
  Subject: Re: Sort is generating rows
  In-Reply-To: <bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.com>
  References: <CAMEUSaRx0UZ4Z0JGuaxbz3UtfMG9_q+v6pV0t41XzGOuVY307Q@mail.gmail.com> <64f3353c-d9c3-69fc-2621-ba85096275fa@aklaver.com> <CAMEUSaTO_2ybaf0ZPYH3-pXu_NVaDoov-SLMMj8B0xeMoneYAw@mail.gmail.com> <3851fe8c-8ff5-adfc-8fc0-f33b9a2be324@aklaver.com> <CAMEUSaR5OYkoxhcn8RkHLCGj7xDvydmo=7wQ=g8F0XgbOs+MJw@mail.gmail.com> <516671d6-13fd-2e24-2ec9-c7168d85229f@aklaver.com> <CAMEUSaSzJvg8g6u9-CTpnq8v4Y6MMu4Ekzi+fVZbPAsm-c5KMQ@mail.gmail.com> <bc63257b-5062-6e2d-a91c-c4ae1ada83f8@aklaver.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