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.96) (envelope-from ) id 1wKuec-001OpV-12 for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 09:04:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wKueb-0037iG-0Z for pgsql-hackers@arkaria.postgresql.org; Thu, 07 May 2026 09:04:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wKuea-0037i7-2q for pgsql-hackers@lists.postgresql.org; Thu, 07 May 2026 09:04:20 +0000 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wKueY-00000000yWs-3fGi for pgsql-hackers@postgresql.org; Thu, 07 May 2026 09:04:20 +0000 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-799001d73bdso3848247b3.0 for ; Thu, 07 May 2026 02:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778144657; cv=none; d=google.com; s=arc-20240605; b=dcc26Qo44GzdupTUKqGeViv28I7DZ0Hh1y663sl5jfyl/s5xw/3YvsJKO+XTpEnfwG q0s/8GZlnONAZIlatjeWFL/xiFOpmqPffRGB5EUoUJqOyX0iOMDISRyhBxdAAuyp3gTC h0XbHixxZryhffuVX3SVTMZVgEKqXBDbvjo/LQqxCnO7NK1tbJlRmsPdW1ydaq7rfoH9 BvbC6nS7MrtpDEz3ZWuddpF6TJUCAFS7aA02oixMzleS74s0/yFOlVJiIawSySvxxeeG WtppWhcExMqC+QILyPs9m6HrWpyZr0Ehqznn0F4hHX3XWmkMS32qL1Im/IjjZI5Evv/H thyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=3Glk+O50cgStUvJRgg/alC4qQLtyoZ4Zq3jpwF8BPTs=; fh=CLfVqexltDIdnMcpcpaxkcO7ccOf6VzU0GVB9Nr9GgM=; b=ZAXlibc4OZKXIOHuHSQEp94je6PIix3/Ta1497Gqi4eqv/kqgl6fNoY8vSbEqr2y9S SRlAlplmV4lyBub+mNsAWIrGy4tMTzzoLNUtZQL7UTFcifHA2m07hFgy99yfN7somlQw H1Q6H/JFMKb/FJsfc2DyjHB1oKWfnvNfIjuf0cjPzQffFqObH4cjplQUZye3kiFsTN0q U2gZjuDhOkjFZXRrSBnoZeRHPFAAInrwyY4GkZXP4N0vlWDHCmKTYb9bIo8MzRVrPtTS FDwzXtFz69pxOfdx5eXhxh2KtJIai4HZ9IJRfM0KvmaGpJgTLIX4eMaZLOFt+cypGik1 22uw==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778144657; x=1778749457; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3Glk+O50cgStUvJRgg/alC4qQLtyoZ4Zq3jpwF8BPTs=; b=nHWtdpkq0sbN4kVw/kwqAsf5RWBEcsQTT8PfR7CO1m79g+A6i40U8SR8ktGmyYvYCN Wwez0sXzOttUdEoS9je0wxPsiViiT24CJ2Qfbb1f4HJOQCsFCl9sUtOgWzLmoSOLxBV8 NfW40rRQq7JB9lQAVsfIXiBEprX0Uj7MtcQVaHbhITKQxsix4zehkJiThfiFOCIQqUpR OvW1lTQk1o6TaPnScR1WdExXOETDglLB3fxNROVfDYeLS+1lMlt3dJd5FKydmRyOAtxE FrGuxWqxoXAhsiPc5U3xwrZs7JKvmgo78d8IdBofn4m6TXBxvJqcf3ljKiZ+Dsbw5SBt xvpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778144657; x=1778749457; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3Glk+O50cgStUvJRgg/alC4qQLtyoZ4Zq3jpwF8BPTs=; b=MjqYQCfkEtoQc79pV79NStKaPmqKU8Jx6W2Z3xGEfdW3vIu4ZwlOLKRCMrICE0N7fM IBcGV58mVs3Wz2+qR3M8+HUJ5nnxWeDgG3yoc/jzXORWhQao+zul3Fc7EWvL8qrm9MQJ 2nyLyuOiKPRkVG/EkAPBr+ZTjD85kLPfxIBL3jTHlL36p3eIvtOB1atfSDOTgkwZ9qAv /eyKNZaRoYzQ1Ivq2cHCL2dd0ClH/opkyRUGZoHFjetDvLF+eyE+7ILh5CTTzIKmdB4g zQVQihj1ZXJ5ToeEVKthfPtIDTVD/OE1QN/lwFmkkTSNxZGhhgXjsvRuQh/8mUoWfsZA xSNg== X-Gm-Message-State: AOJu0Yw9iu2lgdjQyN9PcU/tS5JJ5jhqNK5j56tT2htaLYXaoWJChIN/ fMroFJ0ZHywwTM1o40k3kMmAZGtch6SotP8bxyKAIqFvW3/hydk58A1i3u+/VXN8tWqFOi08epX gRpbwpVbfVmzZRu6ooPMzmOiKIH0lkp0= X-Gm-Gg: AeBDieuKbZOlBkQDi1z2HI/Z5iQGQIlIR1Jl37TLkj44PvdENiWMInhgyfj1Pu0F9n8 WSCqo8oy3C2XY7ngDozU6rKFnj4kzIG1mr+K7oe6HLFdg5CMPfQmFqbvhIofysfsyO/vDqCs4Jh tUv/ce5PsVvLWFQhkDelvIP2Abxf7eveBRR2TCVt2Xz0FMpNsA7cNAEcYjB4wTibGrvL+DQcIIv 1gykcay7flf/5vyDq09WnAZXNa02SKLHz/mYZvrWOJBTGYUALb5GGIp+xOxIefHTgAgwQ64F+dp mbs33bo++cjF18p7mP0Q2hpzAqs= X-Received: by 2002:a05:690c:88b:b0:7a0:4146:6eaf with SMTP id 00721157ae682-7bdf5de4eb9mr82043147b3.16.1778144657045; Thu, 07 May 2026 02:04:17 -0700 (PDT) MIME-Version: 1.0 References: <459ea164-aa38-43dd-8c93-dbb1063d20b5@eisentraut.org> In-Reply-To: <459ea164-aa38-43dd-8c93-dbb1063d20b5@eisentraut.org> From: Ayush Tiwari Date: Thu, 7 May 2026 14:34:05 +0530 X-Gm-Features: AVHnY4I5IMOhN2lk8C6lAPUUeN1UFTDyw_3eFtn1RwChoUHlpiZrhkCbIkjf6Sc Message-ID: Subject: Re: [PATCH] Clean up property graph error messages To: Peter Eisentraut Cc: PostgreSQL Hackers , Ashutosh Bapat Content-Type: multipart/alternative; boundary="000000000000a47af50651369023" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000a47af50651369023 Content-Type: text/plain; charset="UTF-8" Hi, On Thu, 7 May 2026 at 14:15, Peter Eisentraut wrote: > > > and moves a > > ReleaseSysCache() call before an ERROR ereport in > > check_element_properties(). > > > > The existing code should be cleaned up by > > the resource owner on the ERROR path, but the explicit ReleaseSysCache() > > placed after ereport(ERROR) was unreachable. > > I think that's fine. I don't think the change makes this better. > IIUC that is dead code right now, it never reaches that point to release? Regards, Ayush --000000000000a47af50651369023 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,


O= n Thu, 7 May 2026 at 14:15, Peter Eisentraut <peter@eisentraut.org> wrote:

> and moves a
> ReleaseSysCache() call before an ERROR ereport in
> check_element_properties().
>
> The existing code should be cleaned up by
> the resource owner on the ERROR path, but the explicit ReleaseSysCache= ()
> placed after ereport(ERROR) was unreachable.

I think that's fine.=C2=A0 I don't think the change makes this bett= er.

IIUC that is dead code right now, i= t never reaches that point to release?

Regards,
Ayush=C2=A0
=
--000000000000a47af50651369023--