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 1wl53i-0011uc-3C for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2026 13:26:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wl53i-0036o4-06 for pgsql-bugs@arkaria.postgresql.org; Sat, 18 Jul 2026 13:26:26 +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 1wl37S-0033Hu-1M for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 11:22:10 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wl37P-00000000uo9-231t for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 11:22:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=sMgZiwzS6QcCqFxJ/Uy1USWxOTDMl0B7k9LY70P6uQU=; b=MDv4VIBn4BjCp9OU+tZWgcz8CA 8vnoP5bR7MGdk60hkl9oKI0fOAO63107sahCeg17c0dx9satlpNw8zp5pAQKNIzC6uTvA8jPizaNd avwlbDGAho0rkh2hdjEE1i76ScwWb2xXmkjaW1R+v9GBjWfF5pNDor4EJYc7lT71CUXQaVf940JX/ SUc814mkeuplMhOTuSZMh/XyGaR7dXVsqI25XcYTqfjUCUy9UWSLJY+bVEER0UeuD9fDzH70jwap/ mb04kPUhJoyIki5iGUsMHzxhBfDky6/ftVCrPwgew0bg4vDzYHeTFQjvPJgXUCRSxDaL6aYGdWVCT uWEoufXQ==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wl37N-002TIs-0c for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 11:22:05 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wl37K-005l9A-0d for pgsql-bugs@lists.postgresql.org; Sat, 18 Jul 2026 11:22:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19559: ALTER TABLE SET EXPRESSION / ALTER TYPE fails on columns referenced by a property graph To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: svenna01@gmail.com Reply-To: svenna01@gmail.com, pgsql-bugs@lists.postgresql.org Date: Sat, 18 Jul 2026 11:21:30 +0000 Message-ID: <19559-6e5d454d86f920e7@postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following bug has been logged on the website: Bug reference: 19559 Logged by: Fredrik Svensson Email address: svenna01@gmail.com PostgreSQL version: 19beta2 Operating system: Linux (Debian trixie, official postgres:19beta2 Description: =20 On 19beta2: CREATE TABLE t (id int PRIMARY KEY, a int, b int, s int GENERATED ALWAYS AS (a + b) STORED); ALTER TABLE t ALTER COLUMN s SET EXPRESSION AS (a - b); -- ok CREATE PROPERTY GRAPH g VERTEX TABLES (t KEY (id) LABEL v PROPERTIES (id, s)); ALTER TABLE t ALTER COLUMN s SET EXPRESSION AS (a * b); ERROR: unexpected object depending on column: property s of label v of vertex t of property graph g Cause: CREATE PROPERTY GRAPH records per-column dependencies (element keys via array_of_attnums_to_objectaddrs, property expressions via recordDependencyOnSingleRelExpr), but RememberAllDependentForRebuilding() in tablecmds.c has no cases for PropgraphElementRelationId / PropgraphLabelPropertyRelationId, so they reach the default: elog. Still present in master as of dde9a87d4d0. Expected, following the existing pattern in that switch: - AT_AlterColumnType: user-facing ERRCODE_FEATURE_NOT_SUPPORTED error. - AT_SetExpression: no error =E2=80=94 column attnum and type are unchang= ed, so there is nothing to rebuild.