全部產品
Search
文件中心

ApsaraDB RDS:ST_FDWDrivers

更新時間:Feb 28, 2024

獲得所有Ganos FDW支援的資料來源驅動列表。

文法

setof record ST_FDWDrivers(out integer id ,
              out text driver_name ,
              out text open_options );

參數

參數名稱描述
id驅動序號。
driver_name資料驅動名稱。
open_options資料驅動開啟參數。

描述

獲得Ganos FDW支援的所有資料來源驅動列表。其中open_options可以作為CREATE SERVER的參數。

樣本

select * from
(select (st_fdwdrivers()).*) table_test
where driver_name='ESRI Shapefile';


 id |  driver_name   |         open_options
  4 | ESRI Shapefile | <OpenOptionList>  <Option name='ENCODING' type='string' description='to override the encoding interpretation of the DBF with any encoding supported by CPLRecode or to "" to avoid any recod
ing'/>  <Option name='DBF_DATE_LAST_UPDATE' type='string' description='Modification date to write in DBF header with YYYY-MM-DD format'/>  <Option name='ADJUST_TYPE' type='boolean' description='Whether to read w
hole .dbf to adjust Real->Integer/Integer64 or Integer64->Integer field types if possible' default='NO'/>  <Option name='ADJUST_GEOM_TYPE' type='string-select' description='Whether and how to adjust layer geomet
ry type from actual shapes' default='FIRST_SHAPE'>    <Value>NO</Value>    <Value>FIRST_SHAPE</Value>    <Value>ALL_SHAPES</Value>  </Option>  <Option name='AUTO_REPACK' type='boolean' description='Whether the s
hapefile should be automatically repacked when needed' default='YES'/>  <Option name='DBF_EOF_CHAR' type='boolean' description='Whether to write the 0x1A end-of-file character in DBF files' default='YES'/></Open
OptionList>
(1 row)