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 1m1VTH-0003zi-KE for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jul 2021 14:57:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m1VTG-0004MM-BH for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jul 2021 14:57:46 +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 1m1VTG-0004M2-25 for pgsql-hackers@lists.postgresql.org; Thu, 08 Jul 2021 14:57:46 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m1VTB-0007Ik-B4 for pgsql-hackers@lists.postgresql.org; Thu, 08 Jul 2021 14:57:45 +0000 Received: by mail-lf1-x129.google.com with SMTP id c28so16138685lfp.11 for ; Thu, 08 Jul 2021 07:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9r9wi72TkMHXH7wNWbcS5fLaiSsixVsEgO3kUtyG0Jk=; b=mEZlAKioBP2iRHZGWt+Pl2G6cVkaCp3/dj2b+8hoVf3/QmL8RCGbpExgKKwNNl0vsN eiUEceSsSo96p+BmAolqkXElmKSTZ8n97Cq4iAoYaUOealZ0W/5VeBQwXWW2hHO+Fo2F bpXLYDe8s+dv7yT1iABic3B5PCE7dUgQacAk9IqsPlSdkVptuTUpkXSCZpuduCRPEvcT j/M924cNiu+ayvet6IcpyzZO5Npa37j9eTqIRtld2mMvY9QNnGgeZHB2H9eJ/TVyV5ih JBevhcN0vP9pP9V4Zza9XQunFhPQ0cWAsxWh4oKqmKDfCd88G3oBouxTkeMatmvEJ8ga v9eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9r9wi72TkMHXH7wNWbcS5fLaiSsixVsEgO3kUtyG0Jk=; b=MAH+K1wRSZcRNolPdk5YjhdL/H9WSGfLthaAv9/w04D5yNBUdoCXJALoAnW95mEwYc ZhBKpaXROO4HE2nsY04zvrW1bJ/qmgH3EszL5HPC6oMDAVf66PmGvbNgvEKce1a3qNDo hnBk/4CQmEhAWfieehqUx3W15OB+JSt0IwaAqyZOVKtpq/U8at2BWRMH1vtXvtdxKfGz BqeBl740RQsjvKaVo28R+YbMvQ+yoU5HMpND4/A/jkB5yzO6cZlUITbbpaamS9fvnOaK QVSq9Kt9uqhc3ZKfsu82hxMWOfPR3WrbYBeX6oh87OX7U7QMiwTvQK0K9bg+ehMaNJUs iN7g== X-Gm-Message-State: AOAM532XPpXBJf/jgpJKVG/KYBPgpZ7qasAM4V1OnCcSKPwXDgeskXN3 m6nFcv4/cWb7FUu7hW1FbX9Lk/RNMKf+/oaT2xA= X-Google-Smtp-Source: ABdhPJwU8Ipq+SfB4j2QnslUNmBWv8FSWuHGcQnFPbS/iWnwakLY0aBB2IUWaJKPKrFP2iRLeSCKg+HOGHMvmXvCmT0= X-Received: by 2002:a19:4907:: with SMTP id w7mr24229725lfa.136.1625756253125; Thu, 08 Jul 2021 07:57:33 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Robert Haas Date: Thu, 8 Jul 2021 10:57:22 -0400 Message-ID: Subject: Re: pgsql: Don't try to print data type names in slot_store_error_callback( To: Tom Lane Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jul 2, 2021 at 4:05 PM Tom Lane wrote: > The existing code tried to do syscache lookups in an already-failed > transaction, which is problematic to say the least. Why didn't the assertion in SearchCatCacheInternal() catch this? Was this code never actually tested? -- Robert Haas EDB: http://www.enterprisedb.com