!6656 修复new_time升级后元数据不一致

Merge pull request !6656 from Jenny/fix_new_time_func
This commit is contained in:
opengauss_bot
2024-11-13 07:10:08 +00:00
committed by Gitee
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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';