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 1wXGfp-003ABW-2t for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 11:00:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXGfo-00AqoX-1H for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Jun 2026 11:00:40 +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 1wXGfo-00AqoP-0H for pgsql-hackers@lists.postgresql.org; Wed, 10 Jun 2026 11:00:40 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXGfl-00000002Jip-3iRJ for pgsql-hackers@lists.postgresql.org; Wed, 10 Jun 2026 11:00:39 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-45ee6d32402so3733934f8f.1 for ; Wed, 10 Jun 2026 04:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781089236; cv=none; d=google.com; s=arc-20240605; b=lisMMaiBJMa6GPCk72fufP7HqvRwEZJWRg6gO6omz8vJ1TcP7ZiFMV+Ds6mrF3pEsX Rh066vPxxejz6/DorEfRjiS/XTLdNM38wjCzhz0xQYaj64M8irAq4YmvrKJVIbWBCvvi MtVv/QbxEhkvrRIVnKbEHuSJwdeCRNVhEbY/Xjgr+ikS0gkpHCAXqs3TIkXEuuX2MdRf BPZUMu8V1+GuolYGvV6OD99KGqz7/2Y0lHsTLcxAsG1mblVuVFDcA3XanqjRvK+ixkWM gM4sI3qMdcVTaRvg5YUbINttxUSXmDGIJX8j+rrMLWfw2GQg6vwUxb/ALmzsMJ0BKCzZ dLPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=i/g/GYwb+N8PgeJ01Y362mzRxabAjJkvQrWVB+6OI/Y=; fh=QxtYpg/Cc3CmOOrUNihxZrwEySskL42YemDHL8Q1+p4=; b=A8BQ478yzqsVj7S8VJkshHGX3ko/4eHbDom4PZBHtMMava6lJ+KSER9cDDSh3n1d4F Fx/oclCxrcvnHmYSS1gtNT3mw0wpIcujsmo5PV9+mO7CZEbHn8tRv+r36AiVAYH1TvyW zLNJ97wMPVqcEjtqdf9n48bSFh0ExC1LJX7AVoffPBrMzo2ARiS0VvzeW5A4nFV2UHwN 9YzxS9gYq0ATqCj+qdlG94jzB34oy4HlJKE9rfbB/DEGE6OoNdsYfCsiOi5atNKEMhiP 8hcwBCj9eayLlu5uCrXuibwU+CIwarB/BmlAAX4M2tBmRmuFiglXOpokhIcMmc6w45iD Y/Tg==; darn=lists.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=1781089236; x=1781694036; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=i/g/GYwb+N8PgeJ01Y362mzRxabAjJkvQrWVB+6OI/Y=; b=FvqVsecMkd/7dUnhbkk/nrT3kzzdz7ksStw6c0BJpjNI/lfc5dR1P9SYmHBjILpv28 /PUtuGJwaq94UQf8jDtFFUczu5Szh/VtxKgy2r7XkQZ0wUuhUL74leoTNYdkcB2w3MqU T3l7CElokiPD5KI1dac0NV5Q0thIHoV5HJUmIjymvOYz2yWi9NNht4q+R/dlxVS6gVAl W83F7WBBEIZHHdi3VXrnsvsGpoGIscGW8B4W87e7iNP1Qw8eH0ps9l1NuiGZPr+SKJTy sfZ5h8XIZRK/O099UWyY4BW/55xuLGChpOktMOs5hEUaOMBEreuLkNzawLaWMpPoqirO +K3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781089236; x=1781694036; h=content-transfer-encoding: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=i/g/GYwb+N8PgeJ01Y362mzRxabAjJkvQrWVB+6OI/Y=; b=DnZobxl0l9wMy3xC/ih9rrBFWtJl4GywpKL9gIJy+N2IKuRM8aC7hTPl0nBGPOWzEL U38KexfEV/Y+/KFKaMZPyIbcYJTmtEiKFLOhsHkCIfQH4PaR5WB09HcxPdADpNJiVnKA fb1oFKZk0qCl+gwkZRnit+OJoqQed1+S+trSOsGnGCr+cMT6vkt2lNNJ/dJsBKzeINLe 7qcFxRh3QmT1VAwJuCGEUdnOTXmB4w+xHoYGj/c14irhFZaOKRQmt4reZDVoC7B8GQB1 YNOLNkgqLH2VeQVwcSlc1sqdbnTNgL0hGje5b+ycTSwoXkNcefKHQQvaIrPvB0yY5cdt 7tnw== X-Forwarded-Encrypted: i=1; AFNElJ9XOEcsG8bYT3j3uBeQ7BJxEWdnBuWk/P1Asg0ajr8AnX/lapUPeYudTEO/tAt/Ghrg1qfpHa+k0afer7ae@lists.postgresql.org X-Gm-Message-State: AOJu0Yzhvs0yd25L53waAJJQcmnXz2Jvx0vEpHEAB1n/pWxinwhVKop0 YgbgLOvgJ//3mUADimEQZpR2Q04SCVZG42r1LULHinXQ6dHt4mflK88TrPKOa0Z5hoGXkUht6x2 7CUYsii9Pp8dggoGpteFI5tUJLIe9Zuw= X-Gm-Gg: Acq92OGI0IXELTYM8O6pD6ewGn1e7G8qvUoAH+GbORLgjOIEYu2RAN4+EfX21u+E3iJ or75m4k0AaM7vODttMumkpT/2JNEDLtNha4efYmKbu9pNJGUfBxLcdp1/KFVkGQfgzTLi+BLnDp aGOOhBcNCqC9pzDWGMFZ5FwYwAaXfzWM9kNWYthAbBycMv/TKVH4she1jKA33CDEmYHnRZtgC0M B7u1BEISz+GLVLzS0gDzK67ffMhvC/pQUPNA+apB8SvdRt9h3ZDCFdvd0H+XFjB4tPOflosd4vs z+W7z7Emdyv2Aoswh2qFILPHC6WA5IQkOkTVpNZKWGoKj5hoWuEOkcDGKcL6vh8Yym682qZU80/ cF2/7+NhmzVeRZ3gUp7f6xx/ywak64FXP9PmyYDwkYNxrRdCCZW2iW4W4D9y0mvo= X-Received: by 2002:a5d:4647:0:b0:45e:eef5:b51e with SMTP id ffacd0b85a97d-46030632946mr28903424f8f.23.1781089236411; Wed, 10 Jun 2026 04:00:36 -0700 (PDT) MIME-Version: 1.0 References: <29c33fb6-4200-4a08-be3d-a1a2ceef23b8@eisentraut.org> <200148.1780878520@sss.pgh.pa.us> <581648.1780944202@sss.pgh.pa.us> In-Reply-To: From: Ashutosh Bapat Date: Wed, 10 Jun 2026 16:30:24 +0530 X-Gm-Features: AVVi8Ccdn6oEvDoLWE6T4PVFntMAgsWvwDfKiWBiR_sd5uYt0-kiexPbCKHquwU Message-ID: Subject: Re: Fix DROP PROPERTY GRAPH "unsupported object class" error To: Michael Paquier Cc: Tom Lane , Peter Eisentraut , Alex Guo , Bertrand Drouvot , pgsql-hackers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 10, 2026 at 10:49=E2=80=AFAM Michael Paquier wrote: > > On Wed, Jun 10, 2026 at 09:28:56AM +0530, Ashutosh Bapat wrote: > > Here's a patch fixing it. > > Based on the definitions of pglpgid/pgepgid/pgppgid (property graph > relations), pgelelid (property graph element) and plpellabelid > (property graph element label), that looks better. I am still puzzled > regarding the choice of "label" in the patch for plpellabelid while it > is an "element label" based on the way it is stored in its catalog, > with the catalog matching the object being named "property graph > element label". > Which specific string you are referring to? property graph element label | | | e of element e of property graph create_property_graph_tests.gt - that doesn't have a bare label in there probably the next one property graph label property | | | a of label v1 of element v1 of property graph create_property_graph_tests.gt The term "element" comes later "label v1 of element v1". There's nothing in the standard called "element label". That term is an artifact of our implementation. I think "label v1 of element v1" reads better and follows the standard compared to "element label v1 of element v1". There's also a precedent of not using exact catalog names. In case of user mapping we say " %s of server ...", we don't use "foreign server" there even though the object is called "foreign server" and the catalog is pg_foreign_server. --=20 Best Wishes, Ashutosh Bapat