diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_93_007.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_93_007.sql index 9fcd5f304..732a96230 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_93_007.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_maindb/upgrade-post_catalog_maindb_93_007.sql @@ -1,4 +1,4 @@ SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 970; CREATE FUNCTION pg_catalog.new_time(timestamp, text, text) -RETURNS record LANGUAGE INTERNAL IMMUTABLE STRICT as 'new_time'; +RETURNS TIMESTAMP LANGUAGE INTERNAL IMMUTABLE STRICT as 'new_time'; COMMENT ON FUNCTION pg_catalog.new_time(timestamp, text, text) IS 'convert date and time in timezone1 to timezone2'; \ No newline at end of file diff --git a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_93_007.sql b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_93_007.sql index 9fcd5f304..732a96230 100644 --- a/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_93_007.sql +++ b/src/include/catalog/upgrade_sql/upgrade_catalog_otherdb/upgrade-post_catalog_otherdb_93_007.sql @@ -1,4 +1,4 @@ SET LOCAL inplace_upgrade_next_system_object_oids = IUO_PROC, 970; CREATE FUNCTION pg_catalog.new_time(timestamp, text, text) -RETURNS record LANGUAGE INTERNAL IMMUTABLE STRICT as 'new_time'; +RETURNS TIMESTAMP LANGUAGE INTERNAL IMMUTABLE STRICT as 'new_time'; COMMENT ON FUNCTION pg_catalog.new_time(timestamp, text, text) IS 'convert date and time in timezone1 to timezone2'; \ No newline at end of file