column names are now getting full display name optionality

This commit is contained in:
Priec
2026-09-02 10:48:33 +02:00
parent 677c64c877
commit 56a1e855f5
6 changed files with 15 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ rustflags = ["-C", "link-arg=-fuse-ld=lld"]
# `cargo run` process holding up another Cargo invocation.
[alias]
watch-client = ["watch", "--delay", "0.1", "--ignore", "**/common/src/proto/**", "--exec", "build --package client", "--shell", "workspace_manifest=$(cargo locate-project --workspace --message-format plain); exec ${workspace_manifest%Cargo.toml}target/debug/client client"]
watch-server = ["watch", "--why", "--delay", "0.1", "--ignore", "**/common/src/proto/**", "--ignore", "**/.postgres-data/**", "--exec", "build --package server", "--shell", "workspace_manifest=$(cargo locate-project --workspace --message-format plain); exec ${workspace_manifest%Cargo.toml}target/debug/server server"]
watch-server = ["watch", "--why", "--delay", "0.1", "--ignore", "**/common/src/proto/**", "--ignore", "**/.postgres-data/**", "--exec", "build --package server --features full", "--shell", "workspace_manifest=$(cargo locate-project --workspace --message-format plain); exec ${workspace_manifest%Cargo.toml}target/debug/server server"]
[env]
POSTGRESQL_VERSION = "=17.10.0"

View File

@@ -292,13 +292,12 @@ enum MoneyRounding {
// Describes one user-defined column for a table.
message ColumnDefinition {
// Must be lowercase, start with a letter, and use only lowercase letters,
// digits and underscores.
//
// Cannot be "id", "deleted", "created_at" or "row_revision": those are
// system columns, and a data request names system and user columns in one
// namespace. Any other name is free, including one ending in "_id" -- no
// column name is derived from a table name, so nothing collides.
// Public display name for this column; the physical column uses a stable
// server-assigned ordinal name. Preserved exactly for display. It may contain
// Unicode letters, numbers, spaces, punctuation and symbols, but not
// leading/trailing whitespace or control characters, and is limited to 63
// UTF-8 bytes. Its canonical form must be unique within the table and cannot
// claim a reserved system-column name.
string name = 1;
// Logical column type. Supported values (case-insensitive):

Binary file not shown.

View File

@@ -251,13 +251,12 @@ pub struct PutTableDefinitionResponse {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
pub struct ColumnDefinition {
/// Must be lowercase, start with a letter, and use only lowercase letters,
/// digits and underscores.
///
/// Cannot be "id", "deleted", "created_at" or "row_revision": those are
/// system columns, and a data request names system and user columns in one
/// namespace. Any other name is free, including one ending in "\_id" -- no
/// column name is derived from a table name, so nothing collides.
/// Public display name for this column; the physical column uses a stable
/// server-assigned ordinal name. Preserved exactly for display. It may contain
/// Unicode letters, numbers, spaces, punctuation and symbols, but not
/// leading/trailing whitespace or control characters, and is limited to 63
/// UTF-8 bytes. Its canonical form must be unique within the table and cannot
/// claim a reserved system-column name.
#[prost(string, tag = "1")]
pub name: ::prost::alloc::string::String,
/// Logical column type. Supported values (case-insensitive):

2
server

Submodule server updated: 590dea3135...c37f2f902c