Re: v13 planner ERROR: could not determine which collation to use for string comparison

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: v13 planner ERROR: could not determine which collation to use for string comparison
Date: 2020-07-21 19:57:57
Message-ID: 20200721195757.GM5748@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2020-07-21 20:00:42 Re: OpenSSL randomness seeding
Previous Message Daniel Gustafsson 2020-07-21 19:44:58 Re: OpenSSL randomness seeding