v5:database:postgresql
PostgreSQL
postgres9
Specification
Driver Name | postgres9 |
---|---|
Data Provider | postgres |
Status | Active1) |
Windows | Yes |
Unix | No |
ADOdb V5 | Yes |
ADOdb V6 | Yes |
Alternatives
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:
- ADOdb provides a constant, ADODB_DEFAULT_METATYPE, that assists in the use of Geometry Data Types.
- The setCustomMetaType() method allows the creation of Geometry types
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.txt · Last modified: 2022/07/13 03:09 by mnewnham