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 1mVgqH-0004ii-1a for pgsql-general@arkaria.postgresql.org; Wed, 29 Sep 2021 21:10:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mVgqF-0001MV-U5 for pgsql-general@arkaria.postgresql.org; Wed, 29 Sep 2021 21:10:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVgqF-0001LD-Ai for pgsql-general@lists.postgresql.org; Wed, 29 Sep 2021 21:10:15 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mVgqC-0005sv-54 for pgsql-general@postgresql.org; Wed, 29 Sep 2021 21:10:14 +0000 Received: by mail-ed1-x52f.google.com with SMTP id ba1so13746498edb.4 for ; Wed, 29 Sep 2021 14:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=TXv/apD/Va13Yx/kA7MvcQo1n5r5Fj/uHNCHZFRWYIk=; b=G8rp/ZGu8ArauP2aXOZHVlDT6f2xL0DxZ1O0r26xv0qA3/+/ZmX1zvSqnCVoA2o9lu U0jSiM8WwtS1qV+kuDSdcsqZ1i/JljBbWbXlBRKPRukyD0PQHIqkcPsg5ZbaGZAeWmZP DBOcl0gk0/7vuAsHDZC6Yy8M2Ia929PYM3EXb7d2o+ORWj71jwptJnHmQQdTbcaePYWQ cuNSbvUjuao1bpLt78bQVVznkvQUM0ivJfQ2+bkK+o7UvkhKSJeaWmFuNdcePuEJrkdO CUIZ8IEDiXnLo/kzmQ6Uysyw4/jqd1aGAhwfejGtaxJ2d8Hmcxrx0n+HQcBA1PhNmqoJ weQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TXv/apD/Va13Yx/kA7MvcQo1n5r5Fj/uHNCHZFRWYIk=; b=r5TFRcpRoHp47zzyHN7yDPbb0nr6v8nYEP2b5bq0b19J1e6Jr8QHEROxJnluqOdJJf TyYMvVfPv3JDZJBDpYDE1hLYGxQ3h6yBHQyNBCoApvM9Y5njtroJhpGXmWHFnDGCQ9/k +QaRlcx+X2wmzXfEjk1OFwZcu+xXksJXJpUrZg2LrueADo7Sx1WdHZ03ehvNUVGLijeQ zPUUfyVeERxnMew7bzokloBbDayliYXE9I+5iLSts3MCYlGHlggnqvO+yc0XEMqxWJA0 PKa9KlEJjXjy2jn7s6joqDPiDXjLBExm3glC3pnZWiEIv9N9dE0p3O2w1+w6tj4PrP21 gOkg== X-Gm-Message-State: AOAM532KpYsA06HdAaoOGF7alws74aWL9l6USB+iiWMqWXZhC4v9Mw5S 4rKDLmCJbKLQm7oy+WTjc4mDfhuyOdH3ACN7eKndPHn9E0kugnsWgzS7eaMGA3jQtnW+CXJHDos WZQHXZrHnj7coLltGo6S6qJgO+KgBKBC3f7noQxu9czwduZZG2Dq9nUBDdG9EOd3rofdhR8uBkZ gspwTZ0QTdK85WCvtDcGr4sBj+O0c63MWXgH42+j9mS6ZRpxN+/1q22msBP6Pbyjoc6RlrnBg3b JtULPcyEY/ZaxGrGVNkNtDgy7MtEPP44fPJzg== X-Google-Smtp-Source: ABdhPJyvYB3PCcpj2M5c6jRBlEFVyqsmj5wIf6JlsvgbIHrSyw4ygzEZHzTHk7JdqdAD1LYNmxZD1g== X-Received: by 2002:a50:da8d:: with SMTP id q13mr2638601edj.198.1632949810296; Wed, 29 Sep 2021 14:10:10 -0700 (PDT) Received: from [10.137.0.18] (ip-86-49-251-104.net.upcbroadband.cz. [86.49.251.104]) by smtp.gmail.com with ESMTPSA id p15sm532888edy.67.2021.09.29.14.10.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Sep 2021 14:10:09 -0700 (PDT) Subject: Re: ERROR: unrecognized node type To: Tom Lane , Adrian Klaver Cc: Amine Tengilimoglu , "pgsql-general@postgresql.org >> PG-General Mailing List" References: <2990076.1632935803@sss.pgh.pa.us> <80c95c0d-3d32-8fad-0533-d26ebc2e8e5e@aklaver.com> <2994270.1632940636@sss.pgh.pa.us> From: Tomas Vondra Message-ID: Date: Wed, 29 Sep 2021 23:10:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <2994270.1632940636@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/29/21 8:37 PM, Tom Lane wrote: > Adrian Klaver writes: >> Unless folks are using plain text only email readers. That is why >> screenshots are generally a bad idea for textual information. For the >> record the Postgres version is 12.8. > > Hmm, if it's v12 then NodeTag 223 is T_List, which is ... a bit > surprising. That's a common enough node type that "oversight" > doesn't seem to fly as an explanation. > > I don't think we'll be able to make progress on this without a > lot more detail. A self-contained example that triggers it > would be very useful; or maybe you could get a backtrace from > the point of the error? > > https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend > A handy trick for similar cases (not mentioned in the wiki) is to set SET log_error_verbosity = verbose; and then trigger the error. This logs the exact location (file:line) where the error is printed, and then set a breakpoint to that place. Makes it easier to generate the backtrace. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company