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 1wyTeB-003PwM-2j for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Aug 2026 12:19:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wyTeA-002PXB-2q for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Aug 2026 12:19:26 +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.96) (envelope-from ) id 1wy5vt-00HVtk-1j for pgsql-bugs@lists.postgresql.org; Sun, 23 Aug 2026 11:00:09 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wy5vr-000000021M7-0jpw for pgsql-bugs@lists.postgresql.org; Sun, 23 Aug 2026 11:00:08 +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=PVuUoSPtJUNlkI6jeS7+0PnhZ3mSTGFpx++Aa07L7J8=; b=JD7a9Ev5zeu8ni5JYxqSBM7zIL /ofB9rsurrLjNNzR8J4MfKSHXY63BscKK7jHa1QFjR9y1EnqFLjgP7Ke+lYNZEnOc5Vq6hqpeSk2G H4noTIDjwMpHm+ESZUpVCZMYzILX7lPUr+DQrcGRulNkablVT96F9ux2UNoChri6alk2SbRYaqCyd T8aFw2NY0Cs1BX1B0jBzBHqX3iUa/NTgKyV170dANZ7T76mfUE6XPSJ1E0VrGtmWNTcGQaoI8UezP PYdn7ldUKhdv2Pcs9zcne4Ef+3PviE9ZQeA8cHoKs7g5rZUjY55FeOdd01Sc5u7tU7YtabMNmarIN M/iBoNGw==; 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 1wy5vq-0069sZ-1t for pgsql-bugs@lists.postgresql.org; Sun, 23 Aug 2026 11:00:06 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1wy5vo-0000000GSH2-30CY for pgsql-bugs@lists.postgresql.org; Sun, 23 Aug 2026 11:00:04 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19637: pg_event_trigger_ddl_commands can't process GRANT ON PROPERTY GRAPH To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: exclusion@gmail.com Reply-To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Date: Sun, 23 Aug 2026 11:00:01 +0000 Message-ID: <19637-4446f72945492ed8@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: 19637 Logged by: Alexander Lakhin Email address: exclusion@gmail.com PostgreSQL version: 19beta3 Operating system: Ubuntu 24.04 Description: =20 The following script: CREATE OR REPLACE FUNCTION event_trigger_report_end() RETURNS event_trigger LANGUAGE plpgsql AS $$ DECLARE r RECORD; BEGIN FOR r IN SELECT * FROM pg_event_trigger_ddl_commands() LOOP RAISE NOTICE 'END: command_tag=3D% type=3D% identity=3D%', r.command_tag, r.object_type, r.object_identity; END LOOP; END; $$; CREATE EVENT TRIGGER regress_event_trigger_report_end ON ddl_command_end EXECUTE PROCEDURE event_trigger_report_end(); CREATE PROPERTY GRAPH pg; GRANT SELECT ON PROPERTY GRAPH pg TO public; fails with: ERROR: XX000: unsupported object type: 30 CONTEXT: PL/pgSQL function event_trigger_report_end() line 4 at FOR over SELECT rows LOCATION: stringify_grant_objtype, event_trigger.c:2335 Reproduced starting from 2f094e7ac.