agora inbox for pgsql-bugs@postgresql.org
help / color / mirror / Atom feedFrom: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: exclusion@gmail.com
Subject: BUG #19637: pg_event_trigger_ddl_commands can't process GRANT ON PROPERTY GRAPH
Date: Sun, 23 Aug 2026 11:00:01 +0000
Message-ID: <19637-4446f72945492ed8@postgresql.org> (raw)
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:
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=% type=% identity=%',
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.
view thread (7+ messages) latest in thread
Message-ID: <19637-4446f72945492ed8@postgresql.org>
Permalink: ../19637-4446f72945492ed8@postgresql.org/
Also on: postgresql.org/message-id/19637-4446f72945492ed8@postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, exclusion@gmail.com
Subject: Re: BUG #19637: pg_event_trigger_ddl_commands can't process GRANT ON PROPERTY GRAPH
In-Reply-To: <19637-4446f72945492ed8@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox