Align catalog loading and table reads with PostgreSQL publication configuration

Ouverte
#40 0 commentaires 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@SahilKhan101 y travaille déjà.

Depuis le 20/11/2026.

  • #48 par @SahilKhan101 — ouverte

Évaluation

Cette issue n'a pas encore été évaluée.

Description

Problem

The engine loads every table in the configured schemas, even when the publication does not stream it. Tables outside the publication, tables published without updates or deletes, and tables with row filters, column lists, or generated columns can be read once and then silently become stale.

There are also table identity and lookup issues:

  • Non-public tables are quoted as one identifier ("schema.table") and cannot be read.
  • Using a schema.table string as table identity causes collisions for quoted table names containing dots (for example, public."a.b" versus a.b in schema a).
  • Planner statistics are looked up by table name across schemas, so statistics can be missing or mixed for same-named tables.
  • A schema change to a domain-typed column can stop the server when the message names the domain but the catalog stores its base type.

Expected behavior

Only tables whose publication configuration supports the engine’s snapshot and change-feed behavior should be treated as synchronized. Schema-qualified names and type metadata should remain unambiguous throughout reads, planning, and schema changes.

Acceptance criteria

  • Table loading validates publication membership and relevant publication options.
  • Unsupported publication configurations are reported clearly and do not silently produce stale tables.
  • Schema and table identifiers are handled as separate identifier components, including quoted names containing dots.
  • Planner statistics are scoped to the correct schema and table.
  • Domain-typed columns remain safe to process during schema changes.
  • Tests cover these publication, identifier, statistics, and domain-type cases.
Langage dominant
Rust
Étoiles
129
Forks
7
Merge moyen
1 j 19 h
PR mergées (30 j)
5

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de juspay/streamgres

Toutes les issues de juspay/streamgres

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.