Align catalog loading and table reads with PostgreSQL publication configuration

Abierto
#40 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@SahilKhan101 ya está trabajando en esto.

Desde el 20/11/2026.

  • #48 de @SahilKhan101 — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.
Lenguaje dominante
Rust
Estrellas
129
Forks
7
Merge medio
1 d 19 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de juspay/streamgres

Todos los issues de juspay/streamgres

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.