pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add a graph pattern variable only once
Date: Fri, 27 Mar 2026 09:55:29 +0000
Message-ID: <E1w63ua-001g0x-0y@gemulon.postgresql.org> (raw)

Add a graph pattern variable only once

An element pattern variable may be repeated in the path pattern.
GraphTableParseState maintains a list of all variable names used in
the graph pattern.  Add a new variable name to that list only when it
is not present already.  This isn't a problem right now, but it could
be in the future.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAExHW5tR4O0vjeqTCPr2VB5pYjNYbJgbCBEQf63NtU5Pz1MiOQ%40mail.gma...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/288ae968726ebaca587a446041fe0e0a6377562d

Modified Files
--------------
src/backend/parser/parse_graphtable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1w63ua-001g0x-0y@gemulon.postgresql.org>
Permalink:  ../E1w63ua-001g0x-0y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w63ua-001g0x-0y@gemulon.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-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add a graph pattern variable only once
  In-Reply-To: <E1w63ua-001g0x-0y@gemulon.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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox