pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Teodor Sigaev <teodor@sigaev.ru>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Jaime Casanova <jaime.casanova@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Partitioned tables and covering indexes
Date: Thu, 12 Apr 2018 01:14:54 +0300
Message-ID: <07465162-72d9-e192-bedb-6e37bca50b56@sigaev.ru> (raw)
In-Reply-To: <641a91aa-19ef-e092-dd4c-2554487169fc@2ndquadrant.com>
References: <13123421-1d52-d0e4-c95c-6d69011e0595@sigaev.ru>
	<20180411194753.vhnwqss2hgqtao6v@alvherre.pgsql>
	<CAPpHfds2etOsc-YSu+TKn05099wJrZPDg8yMhE460X3O6Zpaig@mail.gmail.com>
	<CAH2-Wzkdg_StJuH9MtiiYA=WyJDk_1S2ZVtSPQz73hkKgBz2sQ@mail.gmail.com>
	<352da91b-caeb-bbd9-cfe5-f477ad2628be@2ndquadrant.com>
	<CAH2-Wzm0qH6BYaYGLFQB+Nz+O+g=k1Goe-ucdC2+8KhHG2KPfQ@mail.gmail.com>
	<641a91aa-19ef-e092-dd4c-2554487169fc@2ndquadrant.com>

>> That's the idea that I tried to express. The point is that we need to
>> tell the user that there is no need to worry about it, rather than
>> that they're wrong to ask about it. Though we should probably actually
>> just throw an error.
> 
> Or maybe it should be the collation of the underlying table columns.
> Otherwise the collation returned by an index-only scan would be
> different from a table scan, no?
+1, dangerous
-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru
                                       WWW: http://www.sigaev.ru/




view thread (22+ messages)  latest in thread

Message-ID: <07465162-72d9-e192-bedb-6e37bca50b56@sigaev.ru>
Permalink:  ../07465162-72d9-e192-bedb-6e37bca50b56@sigaev.ru/
Also on:    postgresql.org/message-id/07465162-72d9-e192-bedb-6e37bca50b56@sigaev.ru

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: teodor@sigaev.ru, peter.eisentraut@2ndquadrant.com, pg@bowt.ie, a.korotkov@postgrespro.ru, alvherre@alvh.no-ip.org, Langote_Amit_f8@lab.ntt.co.jp, jaime.casanova@2ndquadrant.com
  Subject: Re: Partitioned tables and covering indexes
  In-Reply-To: <07465162-72d9-e192-bedb-6e37bca50b56@sigaev.ru>

* 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