Skip to content

Support finding tables inside function/aggregate clauses - #348

Merged
keiko713 merged 2 commits into
mainfrom
tables-from-func
Jul 30, 2026
Merged

Support finding tables inside function/aggregate clauses#348
keiko713 merged 2 commits into
mainfrom
tables-from-func

Conversation

@keiko713

Copy link
Copy Markdown
Contributor

No description provided.

keiko713 added 2 commits July 28, 2026 17:21
* inside of aggregate ORDER BY clauses
* inside of window definitions
* inside of VALUES lists
* inside of a RETURNING clause
* inside of an ON CONFLICT clause
@keiko713
keiko713 requested a review from a team July 28, 2026 11:49

@lfittl lfittl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense, but we should separately also bring the new summary function to Ruby so we can rely on that tree walker instead (which is more complete). See https://github.com/pganalyze/libpg_query/blob/18-latest/src/pg_query_summary.c

@keiko713
keiko713 merged commit 4e21cfe into main Jul 30, 2026
11 checks passed
@keiko713
keiko713 deleted the tables-from-func branch July 30, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants