Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ti7KT-00BZfK-0K for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Feb 2025 07:38:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ti7KQ-006IHt-UK for pgsql-bugs@arkaria.postgresql.org; Wed, 12 Feb 2025 07:38:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ti7KQ-006IHG-M7 for pgsql-bugs@lists.postgresql.org; Wed, 12 Feb 2025 07:38:39 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ti7KP-000N4u-1A for pgsql-bugs@lists.postgresql.org; Wed, 12 Feb 2025 07:38:38 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-ab7d3bcf1ceso403799866b.3 for ; Tue, 11 Feb 2025 23:38:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1739345916; x=1739950716; darn=lists.postgresql.org; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=QplAvpaEr32s0UFNGHDt9qJUAt6R4v7zj9/I/xmhliA=; b=KI5tgc2dSX6IetMVwb8i2V+nopF40lzMi1wgjOQhPsdAoE7JKKhQtv9vF9K57WEDiu PyMayK6gCjA5BLK4nIIW9Gf/OMiyYxe8QOTDzFczCuOcNLK+zUi+DTpYl9FpNJtwwB2/ gVZpuufBrfTyVFk/F1eQ8hors75MRSgVti4MovAlEtInXPEi4meBFlB5o8243CIhgpkA Qj6kAzWmtiWL4EUCrlhLDwjhmmOIynUIlXSSboyiHdModoEIVauDw2KTi0An7RrfUF3d PIJHkofadkb1VDloLt22Kfebc+nOtah5ODjCxyOwlErQElVUGBSA7zlAXJycspCNhwBX eIFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739345916; x=1739950716; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=QplAvpaEr32s0UFNGHDt9qJUAt6R4v7zj9/I/xmhliA=; b=W4sEYYNqhFxisUSpfMMo/AZp9sYwBzLfsW9v4MQgQunC2LgJwYKKW/QhdtGm0bSee4 5498UcJqE7Y9WfDoqZxedIOU49AyrrLXjrmA2YOXUNfOFsDtulndpxTy0yQLX+DphB02 hZxWwO6LXOk+EIPUCxfa6Eyr+Ii4UA3rluF/KSjj94dSxgp31VxeuBGRnKkW0c6akXWq 5T1IdaB9KzNzhVKcyy5whLFUUXSBASzI/8aKBlXWJFB76R8DeyRTTBqdyZ6bUcYt8aM1 BDyjEXolaXCmALhEsf7x0jA53JV2fPNZux7gGkdjRWItUdPD69jMNBdEewiSbrFQpb96 09Jg== X-Forwarded-Encrypted: i=1; AJvYcCUpO3ELB6SazZ81/iZu64gXA5LZ/gdpgXAnLYhpp5r4BXM/Fk2EE1xWU9PR8lUlVYY6a00ryFP40emI@lists.postgresql.org X-Gm-Message-State: AOJu0YxbHB9nokWDH2vQ0SmcbfXcZIAmGoXWj3+f0QLE3FmpQlf7he4w Om/m27YyVnKBJ9K7rwuhkysBz5CYfua7rQ6ozhILCkc41QiFfTnz4RIj2uqVl7zFJYJzWz3pMlI w1zsoTxAPKtO4z0xPoEKt9QyatCLVaiqWfCjeMTqd17TtH4/pNhgmRI3h/qnlbRxeVB49aP/r9g 6X X-Gm-Gg: ASbGncvAP3IxYfh4LIzAOLrFr81FRTAAcXnDvOYZvwRIEo2SQQfVzrl5gRQYaq4lMG0 PnmxaeRDWqBDIEl1bNm1EmBPh89kf6UZPSfqwms70XIH8OBVP9TBPjDijsChCJlaSEChB7YkbLg HrgdoVgW5FAAbEGKyl5KdsWlSDnLuXY8NZ6SpTuPvvcGzBw78edkJT+EfqI3TiqQOHPYIOk6VEE 6TB+dgqLSHChYLUu0AH6p8q6V5MN1HwrYnpne3bYcwIAmNiQNXRU0edGSaQgZHKFTUz4F2nMBEx ciDXRYXYb2lw2SASRWBMsYw4vPTyAHV0 X-Google-Smtp-Source: AGHT+IG7Ho0Ze8z4GyH0y+XN5vUmXfJm5J0+eTeRlWri1e8Jw6Stsj/nuJX0PIgIf7Fuq1zozTb+3w== X-Received: by 2002:a17:907:1c85:b0:aa6:9624:78f1 with SMTP id a640c23a62f3a-ab7f3714978mr189385566b.9.1739345915952; Tue, 11 Feb 2025 23:38:35 -0800 (PST) Received: from localhost.localdomain ([41.66.98.117]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab7e04bbbcesm279202666b.163.2025.02.11.23.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2025 23:38:35 -0800 (PST) Message-ID: <8ed9ba8971e114c3d6325c50a5f9fb6984140a01.camel@cybertec.at> Subject: Re: BUG #18806: When enable_rartitionwise_join is set to ON, the database shuts down abnormally From: Laurenz Albe To: m_lingbin@126.com, pgsql-bugs@lists.postgresql.org Date: Wed, 12 Feb 2025 08:38:34 +0100 In-Reply-To: <18806-d70b0c9fdf63dcbf@postgresql.org> References: <18806-d70b0c9fdf63dcbf@postgresql.org> User-Agent: Evolution 3.54.3 (3.54.3-1.fc41) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-02-12 at 07:01 +0000, PG Bug reporting form wrote: > PostgreSQL version: 17.2 > Operating system:=C2=A0=C2=A0 CentOS Linux release 7.9.2009 (Core) > Description:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 >=20 > After upgrading PG17.2, testing found that when enable_rartitionwise_join= is > set to ON, when executing a query, if the main query and subquery have th= e > same table, the query will report an error. >=20 > The database log shows the following error: > LOG:=C2=A0 server process (PID 24796) was terminated by signal 6: Aborted > DETAIL:=C2=A0 Failed process was running: select * from test t join order= s o on > t.order_id =3Do.order_id where t.order_id in (select order_id from orders= ); > LOG:=C2=A0 terminating any other active server processes That is a crash that may well indicate a PostgreSQL bug. However, without a way to reproduce the behavior, we won't be able to fix the problem. Try to come up with a self-contained test case. It would also be interesting to know which PostgreSQL extensions are present. Yours, Laurenz Albe --=20 *E-Mail Disclaimer* Der Inhalt dieser E-Mail ist ausschliesslich fuer den=20 bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat= =20 dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte,=20 dass jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder= =20 Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie, sich= =20 in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. *CONFIDENTIALITY NOTICE & DISCLAIMER *This message and any attachment are=20 confidential and may be privileged or otherwise protected from disclosure= =20 and solely for the use of the person(s) or entity to whom it is intended.= =20 If you have received this message in error and are not the intended=20 recipient, please notify the sender immediately and delete this message and= =20 any attachment from your system. If you are not the intended recipient, be= =20 advised that any use of this message is prohibited and may be unlawful, and= =20 you must not copy this message or attachment or disclose the contents to=20 any other person.