profile name sent with every table from now on

This commit is contained in:
Priec
2026-08-16 23:51:39 +02:00
parent c05c177624
commit 9b1e592ecd
11 changed files with 64 additions and 26 deletions

View File

@@ -289,6 +289,12 @@ message ProfileTreeResponse {
// True when this table is shared by every profile.
bool global = 6;
// Profile (schema) the table is actually stored in. A global table is
// listed under every profile it is visible from, so this names the one it
// belongs to rather than the one it was reached through, and callers can
// use it as the table's identity without deciding anything themselves.
string profile_name = 7;
}
// Profile (schema) entry.
@@ -377,6 +383,11 @@ message TableDetail {
bool global = 9;
// Revision of this table definition for optimistic concurrency control.
int64 row_version = 10;
// Profile (schema) the table is actually stored in, which is not the
// requested profile when a global table is being listed. See
// ProfileTreeResponse.Table.profile_name.
string profile_name = 11;
}
// Server-owned behavior for one logical column returned in table details.