We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8cca4b + e5ec944 commit 80e2bdeCopy full SHA for 80e2bde
src/value_converter/to_python.rs
@@ -187,10 +187,10 @@ fn postgres_bytes_to_py(
187
.into_py_any(py)?),
188
// // ---------- String Types ----------
189
// // Convert TEXT and VARCHAR type into String, then into str
190
- Type::TEXT | Type::VARCHAR | Type::XML => Ok(composite_field_postgres_to_py::<
191
- Option<String>,
192
- >(type_, buf, is_simple)?
193
- .into_py_any(py)?),
+ Type::TEXT | Type::VARCHAR | Type::XML | Type::NAME => Ok(
+ composite_field_postgres_to_py::<Option<String>>(type_, buf, is_simple)?
+ .into_py_any(py)?,
+ ),
194
// ---------- Boolean Types ----------
195
// Convert BOOL type into bool
196
Type::BOOL => Ok(
0 commit comments