From 4004e7ddd47cb0228128364bc248fc6f9124ca29 Mon Sep 17 00:00:00 2001 From: Bohan Zhang Date: Sat, 8 Jun 2024 17:55:52 +0800 Subject: [PATCH] feat(pg_compatible): add field `numeric_precision_radix` in information_schema.columns (#17176) Signed-off-by: tabVersion --- .../src/catalog/system_catalog/information_schema/columns.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/catalog/system_catalog/information_schema/columns.rs b/src/frontend/src/catalog/system_catalog/information_schema/columns.rs index 531b8b3012c8..b7e5889d16c2 100644 --- a/src/frontend/src/catalog/system_catalog/information_schema/columns.rs +++ b/src/frontend/src/catalog/system_catalog/information_schema/columns.rs @@ -31,6 +31,7 @@ use risingwave_frontend_macro::system_catalog; NULL AS column_default, NULL::integer AS character_maximum_length, NULL::integer AS numeric_precision, + NULL::integer AS numeric_precision_radix, NULL::integer AS numeric_scale, NULL::integer AS datetime_precision, c.position AS ordinal_position, @@ -81,6 +82,7 @@ struct Column { column_default: String, character_maximum_length: i32, numeric_precision: i32, + numeric_precision_radix: i32, numeric_scale: i32, datetime_precision: i32, ordinal_position: i32,