Todos os produtos
Search
Central de documentação

ApsaraDB RDS:ST_FDWDrivers

Última atualização: Aug 24, 2026

Este tópico descreve a função ST_FDWDrivers, que consulta os drivers compatíveis com a extensão Ganos_FDW.

Sintaxe

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

Parâmetros

Parâmetro

Descrição

id

ID do driver a ser consultado.

driver_name

Nome do driver a ser consultado.

open_options

Opções de acesso à fonte de dados.

Visão geral

Essa função lista os drivers compatíveis com a extensão Ganos_FDW. O parâmetro open_options pode ser usado na instrução CREATE SERVER.

Exemplos

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)