一.创建获取表更新时间的函数 --获取表记录更新时间(通过表磁盘存储文件时间) create or replace function table_file_access_info( IN schemaname text, IN tablename text, OUT last_access timestamp with time zone, OUT last_change timestamp with time zone )language plpgsql AS $func$ declare t