45 lines
848 B
PHP
45 lines
848 B
PHP
<?php
|
|
|
|
/**
|
|
* PostgreSQL Class File for PICKLES
|
|
*
|
|
* PHP version 5
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistribution of these files must retain the above copyright notice.
|
|
*
|
|
* @author Josh Sherman <pickles@joshtronic.com>
|
|
* @copyright Copyright 2007-2012, Josh Sherman
|
|
* @license http://www.opensource.org/licenses/mit-license.html
|
|
* @package PICKLES
|
|
* @link https://github.com/joshtronic/pickles
|
|
*/
|
|
|
|
/**
|
|
* PostgreSQL Database Abstraction Layer
|
|
*/
|
|
class Datastore_PDO_PostgreSQL extends Datastore_PDO_Common
|
|
{
|
|
/**
|
|
* Driver
|
|
*
|
|
* @var string
|
|
*/
|
|
public $driver = 'pdo_pgsql';
|
|
|
|
/**
|
|
* DSN format
|
|
*
|
|
* @var string
|
|
*/
|
|
public $dsn = 'pgsql:host=[[hostname]];port=[[port]];dbname=[[database]];user=[[username]];password=[[password]]';
|
|
|
|
/**
|
|
* Default port
|
|
*
|
|
* @var integer
|
|
*/
|
|
public $port = 5432;
|
|
}
|
|
|
|
?>
|