const PG_NAMEDATALEN: usize = 64;
Expand description
The number of bytes required by PostgreSQL to store a value of type
ScalarType::PgLegacyName
.
Corresponds to the NAMEDATALEN
constant in the PostgreSQL source code.
Note that the length contains an extra byte for the null terminator. This
does not directly correspond to Materialize, as Rust String
s do not use
a null terminator. You should generally use NAME_MAX_BYTES
instead, which
describes the maximum number of usable bytes in a name
value.