You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "Hannan2910 (via GitHub)" <gi...@apache.org> on 2023/07/14 16:08:15 UTC

[GitHub] [age] Hannan2910 commented on issue #744: Research about PNSI and RTE

Hannan2910 commented on issue #744:
URL: https://github.com/apache/age/issues/744#issuecomment-1636072291

   If you want you can see further what I have researched on these topics
   
   ### RTE
   RangeTableEntry, or RTE for short, is a key idea in PostgreSQL query processing. Within a query, it represents tables or subqueries. These entities' names, aliases, columns, join criteria, and access methods are all important metadata that RTE keeps. Planning and running queries require this information.
   
   ### PNSI
   Another key idea in PostgreSQL query processing is the ParseNameSpaceItem (PNSI). It represents a variety of items mentioned in a query, including as tables, columns, functions, and more. These objects' names, kinds, aliases, and other pertinent metadata are recorded by PNSI. PNSI makes ensuring that object referencing is right, handles conflicts, and upholds query accuracy during query processing and analysis.
   
   ### Relation
   PNSI encapsulates RTE as a part of its overall structure. When a table or subquery is referenced in a query, an RTE is created to represent that specific object. This RTE is then included within the PNSI structure, which manages the namespace information of the entire query. In this way, RTEs are encompassed within the broader PNSI framework.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org