pg_lo_import
pg_lo_import — 从文件导入一个大对象
大纲
pg_lo_import conn filename
输入
conn
-
指定一个有效的数据库连接。
filename
-
Unix 文件名。
输出
无 XXX Does this return a lobjId? Is that the same as the objOid in other calls? thomas - 1998-01-11
描述
pg_lo_import 读取指定的文件并把内容放入一个大对象。
用法
pg_lo_import 必须在 BEGIN/END 事务块内调用。