跳至主要內容

KlustronDB小于 1 分钟

H.1. Client Interfaces

There are only two client interfaces included in the base PostgreSQL distribution:

  • libpq is included because it is the primary C language interface, and because many other client interfaces are built on top of it.
  • ECPG is included because it depends on the server-side SQL grammar, and is therefore sensitive to changes in PostgreSQL itself.

All other language interfaces are external projects and are distributed separately. Table H.1 includes a list of some of these projects. Note that some of these packages might not be released under the same license as PostgreSQL. For more information on each language interface, including licensing terms, refer to its website and documentation.

Table H.1. Externally Maintained Client Interfaces

NameLanguageCommentsWebsite
DBD::PgPerlPerl DBI driverhttps://metacpan.org/release/DBD-Pgopen in new window
JDBCJavaType 4 JDBC driverhttps://jdbc.postgresql.org/open in new window
libpqxxC++C++ interfacehttp://pqxx.org/open in new window
node-postgresJavaScriptNode.js driverhttps://node-postgres.com/open in new window
Npgsql.NET.NET data providerhttp://www.npgsql.org/open in new window
pgtclTclhttps://github.com/flightaware/Pgtclopen in new window
pgtclngTclhttps://sourceforge.net/projects/pgtclng/open in new window
pqGoPure Go driver for Go's database/sqlhttps://github.com/lib/pqopen in new window
psqlODBCODBCODBC driverhttps://odbc.postgresql.org/open in new window
psycopgPythonDB API 2.0-complianthttp://initd.org/psycopg/open in new window