内建的已注册函数
有两个内建的已注册函数,
lo_import 和 
lo_export
可以很方便的在 
SQL 查询里面使用.下面是一些例子
CREATE TABLE image (
    name            text,
    raster          oid
);
INSERT INTO image (name, raster)
    VALUES ('beautiful image', lo_import('/etc/motd'));
SELECT lo_export(image.raster, '/tmp/motd') from image
    WHERE name = 'beautiful image';