💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# F.1\. adminpack `adminpack`提供了一些pgAdmin与其他管理的支持函数 ,并且管理工具可以 用于提供额外的功能,比如远程管理服务器的日志文件。 ## F.1.1\. 函数实现 通过`adminpack`实现的该函数只能由超级用户运行。这里列出了这些函数: ``` int8 pg_catalog.pg_file_write(fname text, data text, append bool) bool pg_catalog.pg_file_rename(oldname text, newname text, archivename text) bool pg_catalog.pg_file_rename(oldname text, newname text) bool pg_catalog.pg_file_unlink(fname text) setof record pg_catalog.pg_logdir_ls() /* 为了pgAdmin兼容性重命名已经存在的后端函数*/ int8 pg_catalog.pg_file_read(fname text, data text, append bool) bigint pg_catalog.pg_file_length(text) int4 pg_catalog.pg_logfile_rotate() ```