Re: proposal: schema variables

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Haritabh Gupta <haritabh1992@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-03-31T11:07:34Z
Lists: pgsql-hackers, pgsql-performance

Attachments

Hi

fresh rebase

+ commit message of first patch contains link to related article on
wiki.postgresql.org

Regards

Pavel

Commits

  1. Reduce LEFT JOIN to ANTI JOIN using NOT NULL constraints

  2. Move WAL sequence code into its own file

  3. Add ExplainState argument to pg_plan_query() and planner().

  4. Don't include access/htup_details.h in executor/tuptable.h

  5. Refactor to avoid code duplication in transformPLAssignStmt.

  6. Avoid including commands/dbcommands.h in so many places

  7. Restrict psql meta-commands in plain-text dumps.

  8. Split func.sgml into more manageable pieces

  9. Fix squashing algorithm for query texts

  10. EXPLAIN: Always use two fractional digits for row counts.

  11. Preliminary refactoring of plpgsql expression construction.

  12. plpgsql: pure parser and reentrant scanner

  13. Add some sanity checks in executor for query ID reporting

  14. Fix misleading error message context

  15. Add macros for looping through a List without a ListCell.