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 1vfbNs-003Gf9-0q for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jan 2026 10:12:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vfbNq-0044Kd-0X for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jan 2026 10:12:18 +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 1vfbNp-0044KV-10 for pgsql-hackers@lists.postgresql.org; Tue, 13 Jan 2026 10:12:18 +0000 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vfbNm-000CBN-1O for pgsql-hackers@postgresql.org; Tue, 13 Jan 2026 10:12:17 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 5F0111D0006A; Tue, 13 Jan 2026 05:12:11 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Tue, 13 Jan 2026 05:12:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1768299131; x=1768385531; bh=UTfX8WxDENECOoIXkLXXX4FIHlC4jh1I bHFKXZu/uFQ=; b=FVCVARtLcI6h5nC+ldWqUR3+eo7zQGKfr3VF/hMJImKvl+qI YWmRPXseaDCsH9lVrS3THcR9+wFAqw/Er4mV9l4bd7gsjVbRbYHPpJsNXhW10SeD 8Wr49EGvZOUjocRcn2XBdYFSWmRy31Ac0800VOO/lU0CoPxMUcJZ4Rg7bIY8iRSv auOtwTx5FSyzKqS2pKCuW3/IWhJTx+CA6d0nofFpX2sjfmQj+pjInvJHIShl+tlG fqn/ELrOJWwYsQd25OtgmrFLQehbt/hGAb+0R4TsO81vr9dLX/lpToqrSLzLzTuC lyu0mwggUaT/H/fWnDkgJDsQtnKysr/j+K5XXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1768299131; x= 1768385531; bh=UTfX8WxDENECOoIXkLXXX4FIHlC4jh1IbHFKXZu/uFQ=; b=x RLo/oH4cUixdf8/eZW7AYD/+K28z/UDdt0Q3KREvpwxycsPxj/ILLeO1SOiFzinp TCB2EvzDAU5J2StQWVkqB7guISycMk4VK1CCbbKIKdVlNThJpPAnswyypvfBLUa4 Al3Bb8dEZUxePGcp4JFtvdH8kglhKrlbnfxUkvb8TPRy3joKkOmV4+2d0q7zXxqz dkpLGeUTaySxni+hRI3I1I+lspAouPiYafAM1Cx4sHDbwg29iOEJt/46CMAOkSjM ZJ/t/TJVcvzhBbDJxdPazAf61UZ8QurGrGpGsL36+75gEyIVWR8uAfGiB2XNWezS VwvIlo8PHgCik/6fSh9Uw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdduvddttdehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeutedv ffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrshhhuhhtohhshhdrsggrph grthdrohhsshesghhmrghilhdrtghomhdprhgtphhtthhopegrmhhithhlrghnghhothgv tdelsehgmhgrihhlrdgtohhmpdhrtghpthhtohepiihhjhifphhkuhesghhmrghilhdrtg homhdprhgtphhtthhopehvihhksehpohhsthhgrhgvshhfrhhivghnughsrdhorhhgpdhr tghpthhtoheprghjrgihrdhprghlrdhksehgmhgrihhlrdgtohhmpdhrtghpthhtohepih hmrhgrnhdriihhihhrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgr tghkvghrshesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 13 Jan 2026 05:12:09 -0500 (EST) Message-ID: <705b821b-416e-4e4e-ba7b-797711ee05a5@eisentraut.org> Date: Tue, 13 Jan 2026 11:12:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: SQL Property Graph Queries (SQL/PGQ) To: Ashutosh Bapat Cc: Amit Langote , Junwang Zhao , Vik Fearing , Ajay Pal , Imran Zaheer , pgsql-hackers References: <3365298a-6a49-4d13-a343-69b1b0c545fc@eisentraut.org> <3c0f5c31-9a89-42ba-a53d-9d9148885297@eisentraut.org> <22769c90-e524-4bab-bc1c-23e6b8bd83bb@eisentraut.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 18.12.25 10:15, Ashutosh Bapat wrote: > I was aware of ecpg and I vaguely remember we fixed something in ECPG > to allow : in MATCH statement. Probably following changes in > psqlscan.l and pgc.l > -self [,()\[\].;\:\+\-\*\/\%\^\<\>\=] > +self [,()\[\].;\:\|\+\-\*\/\%\^\<\>\=] > > Those changes add | after : (and not the : itself) so maybe they are > not about supporting : . Do you remember what those are? These are required to support label disjunctions. If you add one of those to the ecpg sqlpgq tests you added, like (c IS customer|customer), then it will fail to compile without this change. The psql change has perhaps no such impact, but in general, these are supposed to be kept in sync with the main scan.l. > In ddl.sgml I noticed a seemingly incomplete sentence > A property graph is a way to represent database contents, instead of using > relational structures such as tables. Maybe it's clearer like this: "A property graph is a way to represent database contents, as an alternative to the usual (in SQL) approach of representing database contents using relational structures such as tables." > 0002 has extra tests mentioned above. It also removes "TODO: dubious > error message" from a comment. I don't see anything dubious in the > error message. I think this patch is safe to be merged into 0001. Hmm, yeah, this might have been a leftover from a different catalog structure that resulted in different detail messages from the dependency infrastructure. I can't see anything wrong with the current output either.