Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxyOz-0001VV-GF for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jul 2020 19:58:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jxyOx-0003YQ-10 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 Jul 2020 19:58:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxyOw-0003YJ-QE for pgsql-hackers@lists.postgresql.org; Tue, 21 Jul 2020 19:58:10 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jxyOp-0002sU-Pf for pgsql-hackers@postgresql.org; Tue, 21 Jul 2020 19:58:10 +0000 Received: by mail-io1-xd2f.google.com with SMTP id i4so22696863iov.11 for ; Tue, 21 Jul 2020 12:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=37FkuqJULIx0Yq+0cl9Sc7dxi+A5xFcw5U+i97/Er7M=; b=PZ78AWSOlmbs23ZeveqLYRUbOvl4lXPQPXnH7/qWmPgA140S4F34/yR24VUBM1pqD/ CJ3pt1jaSbdyoOugKj/0J245HtL5jlGQeJuwQ98umylYoLSVuDszv62JJHLSRF0fk3cc tcutAQVHf8mUI3ntsV/6Mt8aaQT+fwls6qIV7eishaC0PuDCtLWZGX3ddQfTYEleR1pk mvgW+pHeXtgU2MqZN2NOIMyMh7+Cz0sLoX61tIJjRu4wUzFd/c7sk5D5b89q/1NW2kss q8i159kqCEh79/CgVaVP7WAPw+ATCexa0wJ2h0rIoppOcHYCjjXSSy7q6DnkWbpR3PkC 0Ecw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=37FkuqJULIx0Yq+0cl9Sc7dxi+A5xFcw5U+i97/Er7M=; b=ThP9Qp5WYwpkfJxkfAG/rWx/mi/PB986+YxrcW/P4YobJnkva+dFG+DPZiSMYH3MDS vxpeUbLe/BvsmCbSvRv0B/jslat1yW4onr9g5nSRfE2TzJtkYVPFqBUjBj/HegwGQhh/ 0N/7EvGMXPlvFvAulkHfy3BORW2PBhnjtD7IgTPmwd1WSFUtCl3diu7EbzTIvx/BdNZ5 zzAQU/8YXcyn/lyphR016AeVJgVuL1FBUHA5tW/KPazg7rROF5T8KFJh0IinIHuj9G6M sCki9nnnX5pvNYmppUaCOPBxTpT6r5YRtmWCj2uMELS5NeXrvAk5kIhB29NTViDRdCIY T3NA== X-Gm-Message-State: AOAM533GaCLGgMjShGf5fMy2HDxutgtHVMCJjkNUnNILNLN14a8xF1VM tE4jY4JkEwHWTQEaICHNLC9lYg== X-Google-Smtp-Source: ABdhPJyURqRuiskZkWPZuRU6dJBLwQr6IuifYN8QoFOVKhpQ61JNZZ9aSYp5pYh64uXOeFMd9X51bQ== X-Received: by 2002:a5e:9309:: with SMTP id k9mr29154214iom.135.1595361481481; Tue, 21 Jul 2020 12:58:01 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id u62sm11274572ilc.87.2020.07.21.12.58.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jul 2020 12:58:00 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id DA5E080015D; Tue, 21 Jul 2020 14:57:57 -0500 (CDT) Date: Tue, 21 Jul 2020 14:57:57 -0500 From: Justin Pryzby To: "David G. Johnston" Cc: pgsql-hackers@postgresql.org Subject: Re: v13 planner ERROR: could not determine which collation to use for string comparison Message-ID: <20200721195757.GM5748@telsasoft.com> References: <20200721191606.GL5748@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.