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

This commit is contained in:
maxz
2024-11-13 14:22:23 +08:00
parent f59ce09eba
commit cfb0b46f35
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';