pg_exttable

pg_exttable系统目录表用来追踪由CREATE EXTERNAL TABLE命令创建的外部表和Web表。

Table 1. pg_catalog.pg_exttable

类型 参考 描述
reloid oid pg_class.oid 该外部表的OID。
urilocation text[] 外部表文件的URI地址。
execlocation text[] 为外部表定义的ON Segment位置。
fmttype char 外部表文件的格式:t是文本,c是csv。
fmtopts text 外部表文件的格式化选项,如字段定界符、空字符串、转义字符等。
options text[] 为外部表定义的选项。
command text 访问外部表所执行的OS命令。
rejectlimit integer 每个Segment拒绝错误行的限制,之后装载将失败。
rejectlimittype char 拒绝限制的阀值类型:r表示行数。
logerrors bool 1记录错误,0不记录。
encoding text 客户端编码。
writable boolean 0表示可读外部表, 1表示可写外部表。

Parent topic: 系统目录定义

当前内容版权归GreenPlum和翻译组所有,若有侵权请联系删除下架 修订时间: 2024-09-15 21:48:11

results matching ""

    No results matching ""