Files
Zecheng Zhang 07d1900074 fix(postgres): refuse a readdir on a schema or entity that does not exist
Every postgres lister answered from the path alone, so tables/ and views/
existed under any first segment and the entity files under any third. An
absent schema therefore read as a real directory: test -d succeeded, find
printed two paths nothing could stat, and the readdir channel in
resolve_path_stat synthesized a DIRECTORY row for it.

The kit already had the mechanism. stat wired guards and readdir did not,
so the two disagreed about the same path. Move the two guards to readdir,
where mongodb keeps its own, and pass them to make_readdir.
2026-08-23 03:59:41 -07:00
..