• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • PostgreSQL(PDO)

    简介

    PDO_PGSQL is a driver that implements the PHP Data Objects(PDO)interface to enable access from PHP to PostgreSQL databases.

    资源类型

    This extension defines a stream resource returned by PDO::pgsqlLOBOpen().

    安装

    Use --with-pdo-pgsql[=DIR] to install the PDO PostgreSQL extension, where the optional[=DIR]is the PostgreSQL base install directory, or the path topg_config.

    $ ./configure --with-pdo-pgsql
    

    Table of Contents

    • PDO_PGSQL DSN— Connecting to PostgreSQL databases
    • PDO::pgsqlCopyFromArray— Copy data from PHP array into table
    • PDO::pgsqlCopyFromFile— Copy data from file into table
    • PDO::pgsqlCopyToArray— Copy data from database table into PHP array
    • PDO::pgsqlCopyToFile— Copy data from table into file
    • PDO::pgsqlGetNotify— Get asynchronous notification
    • PDO::pgsqlGetPid— Get the server PID
    • PDO::pgsqlLOBCreate— Creates a new large object
    • PDO::pgsqlLOBOpen— Opens an existing large object stream
    • PDO::pgsqlLOBUnlink— Deletes the large object

    上篇:ODBC and DB2(PDO)

    下篇:SQLite(PDO)