Content-Length: 6578 | pFad | http://github.com/postgresml/postgresml/pull/1328.patch
thub.com
From 7a122851864834190f5d7157b8827a05be7eb1ee Mon Sep 17 00:00:00 2001
From: Lev
Date: Fri, 23 Feb 2024 09:45:48 -0800
Subject: [PATCH 1/2] Fix #1326
---
pgml-extension/src/orm/model.rs | 6 ++++--
pgml-extension/src/orm/snapshot.rs | 24 ++++++++++++++++++++----
2 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/pgml-extension/src/orm/model.rs b/pgml-extension/src/orm/model.rs
index 0750c534e..5d1aadbde 100644
--- a/pgml-extension/src/orm/model.rs
+++ b/pgml-extension/src/orm/model.rs
@@ -955,7 +955,8 @@ impl Model {
.map_or(snapshot::NULL_CATEGORY_KEY.to_string(), |k| k.to_string())
}
pgrx_pg_sys::NUMERICOID => {
- let element: Result