pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: xianliang.ji@esgyn.cn
To: pgsql-bugs@lists.postgresql.org
Cc: Wang Xiao-Zhong <xiaozhong.wang@esgyn.cn>
Cc: Guo Heng <heng.guo@esgyn.cn>
Subject: Optimizer failed to generate plan
Date: Mon, 13 Feb 2023 18:24:45 +0800
Message-ID: <3ce0a99e71d27c47a9d5e5589002da8c@esgyn.cn> (raw)

Hi PostgreSQL community,
    Hello guys,I am a DBA and found the flowing issue when doing test on 
postgresql. is there any plan to fix this issue?Thanks and feedback are 
welcome.


xianliang.ji
Company: esgyn
Email: xianliang.ji@esgyn.cn


[postgres@mdw postgresql]$ /home/postgres/postgresql/install/bin/psql
psql (15.2)
Type "help" for help.

postgres=# select version();
                                                  version
---------------------------------------------------------------------------------------------------------
  PostgreSQL 15.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 
20150623 (Red Hat 4.8.5-44), 64-bit
(1 row)

postgres=# CREATE TABLE dept(
postgres(#     deptno int,
postgres(#     dname VARCHAR(14),
postgres(#     loc VARCHAR(13)
postgres(#   );
CREATE TABLE
postgres=# CREATE TABLE emp(
postgres(#   empno int,
postgres(#   ename VARCHAR(10),
postgres(#   job VARCHAR(9),
postgres(#   mgr int,
postgres(#   hiredate DATE,
postgres(#   sal double precision,
postgres(#   comm double precision,
postgres(#   deptno int,
postgres(#   jobno int
postgres(# );
CREATE TABLE
postgres=# select a.*,b.* from EMP a FULL JOIN DEPT b on 
a.deptno=b.deptno OR upper(ename)='BLAKE' where a.job='MANAGER' OR 
b.dname='SALES';
ERROR:  FULL JOIN is only supported with merge-joinable or hash-joinable 
join conditions
postgres=#





view thread (2+ messages)  latest in thread

Message-ID: <3ce0a99e71d27c47a9d5e5589002da8c@esgyn.cn>
Permalink:  ../3ce0a99e71d27c47a9d5e5589002da8c@esgyn.cn/
Also on:    postgresql.org/message-id/3ce0a99e71d27c47a9d5e5589002da8c@esgyn.cn

 · 

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-bugs@postgresql.org
  Cc: xianliang.ji@esgyn.cn, pgsql-bugs@lists.postgresql.org, xiaozhong.wang@esgyn.cn, heng.guo@esgyn.cn
  Subject: Re: Optimizer failed to generate plan
  In-Reply-To: <3ce0a99e71d27c47a9d5e5589002da8c@esgyn.cn>

* 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