Re: SQL Property Graph Queries (SQL/PGQ)

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Cc: Amit Langote <amitlangote09@gmail.com>, Junwang Zhao <zhjwpku@gmail.com>, Vik Fearing <vik@postgresfriends.org>, Ajay Pal <ajay.pal.k@gmail.com>, Imran Zaheer <imran.zhir@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-12-08T15:53:58Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix some typos and make small stylistic improvements

  2. Cleanup users and roles in graph_table_rls test

  3. Dump labels in reproducible order

  4. SQL Property Graph Queries (SQL/PGQ)

  5. Factor out constructSetOpTargetlist() from transformSetOperationTree()

  6. Sort out table_open vs. relation_open in rewriter

  7. Rename grammar nonterminal to simplify reuse

  8. Make ecpg parse.pl more robust with braces

  9. Don't lock partitions pruned by initial pruning

  10. Remove pg_regex_collation

  11. Use auxv to check for CRC32 instructions on ARM.

  12. Fix inappropriate uses of atol()

  13. Remove unnecessary array object_classes[] in dependency.c

On 02.12.25 11:00, Ashutosh Bapat wrote:
>> When you create future patches, consider using the git format-patch -v
>> option.
>>
> I am still using timestamp as a version but passing it to -v instead
> of treating it as a suffix. I like datestamp as versionstamp for the
> reasons mentioned upthread.

Date stamps are great, but why is there a hyphen between the "v" and the 
number?

I have committed the parse.pl patch, mainly to test it out so that we 
don't have surprises later.  (I had problems in the past making it work 
with older Perl versions, but things seems to have shifted forward now.) 
  It can live on its own, I think.

It looks like undirected matching -[ ]- (without arrows) doesn't work 
correctly.  It seems to just match in one direction.  I don't see any 
tests.  Is this implemented?

Also, make sure the role names in graph_table_rls.sql start with regress_:

  CREATE USER graph_rls_alice NOLOGIN;
+WARNING:  roles created by regression test cases should have names 
starting with "regress_"

(This is the FreeBSD CI failure.)