Repository navigation
v0.39.0
catalog_contents fixture catalogs, DDL catalogs, client load_catalog
VGI protocol stays at 2.1.0.
Worker (vgi)
- Stored catalogs:
Worker::register_stored_catalogregisters a catalog that accepts DDL (CREATE/DROP schema, table, view), private per ATTACH. DDL is logged to the worker's shared storage, so one attach works across pooled worker processes. The version starts at 1 and bumps per DDL;.unversioned()reports 0. CatalogModelgainssupports_catalog_contentsandcatalog_version_frozen.- Secondary catalogs list functions registered into them (
register_*_in). - Fix: a table's scan-function schema is resolved within its own catalog. A function registered into a second catalog no longer changes the schema reported for another catalog's tables.
vgi-protocoladdsIndexInfoandTableCreateRequest.- The example worker serves the six
contents_*fixture catalogs.
Client (vgi-client)
load_catalog: onecatalog_contentscall when advertised, the per-schema RPCs otherwise or inside a transaction. It falls back on error, protocol violation or decode failure, and revalidates from a previous snapshot's etag.SchemaSnapshot::decodechecks paths and decodes all eight kinds.- The raw
contents()refuses locally when the attach doesn't advertise it. - Adds
view_create/view_drop.