Tous les produits
Search
Centre de documentation

ApsaraDB RDS:ST_FDWDrivers

Dernière mise à jour :Aug 24, 2026

Cette rubrique décrit la fonction ST_FDWDrivers, qui permet de consulter les pilotes pris en charge par l'extension Ganos_FDW.

Syntaxe

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

Paramètres

Paramètre

Description

id

ID du pilote à interroger.

driver_name

Nom du pilote à interroger.

open_options

Options d'accès à la source de données.

Présentation

Cette fonction permet de consulter les pilotes pris en charge par l'extension Ganos_FDW. Le paramètre open_options peut être utilisé dans l'instruction CREATE SERVER.

Exemples

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)