ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:postgresql

This is an old revision of the document!


PostgreSQL

postgres9

Specification
Driver Namepostgres9
Data Providerpostgres
StatusActive1)
WindowsYes
UnixNo
ADOdb V5Yes
ADOdb V6Yes
Alternatives

PDO Driver For PostgreSQL

This is the preferred driver for connections to Postgres databases version 8 and above

Driver Specific Options

None

Using Geometry DataTypes

As of V5.21:


Example Connection Strings

$db->connect("host=host1 user=user1 password=secret port=4341");
$db->connect(null, $user='user1', $password='secret');

postgres8

This driver is exactly the same as postgres9

postgres7

This driver provides connections to PostgreSQL version 7 databases

postgres64

This driver provides connections to PostgreSQL version 6.4 databases

postgres

This driver provides connections to PostgreSQL databases below version 6.4

1)
This driver is actively supported by ADOdb project members
v5/database/postgresql.1657674587.txt.gz · Last modified: 2022/07/13 03:09 by mnewnham