Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed May 30, 2023
1 parent bb064e3 commit 2fe173b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sqlx-core/src/postgres/types/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@ impl<'r> PgRecordDecoder<'r> {
}

let element_type =
element_type_opt
.ok_or_else(|| BoxDynError::from(format!("custom types in records are not fully supported yet: failed to retrieve type info for field {} with type oid {}", self.ind, element_type_oid.0)))?;
element_type_opt.unwrap_or_else(|| PgTypeInfo::with_oid(element_type_oid));

self.ind += 1;

Expand Down

0 comments on commit 2fe173b

Please sign in to comment.