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. # `cargo run` process holding up another Cargo invocation.
[alias] [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-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] [env]
POSTGRESQL_VERSION = "=17.10.0" POSTGRESQL_VERSION = "=17.10.0"

View File

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

2
server

Submodule server updated: 590dea3135...c37f2f902c