pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: v13 planner ERROR: could not determine which collation to use for string comparison
Date: Tue, 21 Jul 2020 14:57:57 -0500
Message-ID: <20200721195757.GM5748@telsasoft.com> (raw)
In-Reply-To: <CAKFQuwazqA2snGEOs2uTV7-Mi5gHknNC1OC3ogx-9HHc8u7t2A@mail.gmail.com>
References: <20200721191606.GL5748@telsasoft.com>
	<CAKFQuwazqA2snGEOs2uTV7-Mi5gHknNC1OC3ogx-9HHc8u7t2A@mail.gmail.com>

Reproducer:

postgres=# CREATE TABLE t AS SELECT ''a FROM generate_series(1,99); CREATE TABLE u AS SELECT ''a FROM generate_series(1,99) ; VACUUM ANALYZE t,u;
postgres=# explain SELECT * FROM t JOIN u ON t.a!=u.a;
ERROR:  could not determine which collation to use for string comparison
HINT:  Use the COLLATE clause to set the collation explicitly.





view thread (6+ messages)  latest in thread

Message-ID: <20200721195757.GM5748@telsasoft.com>
Permalink:  ../20200721195757.GM5748@telsasoft.com/
Also on:    postgresql.org/message-id/20200721195757.GM5748@telsasoft.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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, david.g.johnston@gmail.com
  Subject: Re: v13 planner ERROR: could not determine which collation to use for string comparison
  In-Reply-To: <20200721195757.GM5748@telsasoft.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