48 lines
945 B
PHP
48 lines
945 B
PHP
<?php
|
|
|
|
/**
|
|
* PostgreSQL Class File for PICKLES
|
|
*
|
|
* PHP version 5
|
|
*
|
|
* Licensed under the GNU General Public License Version 3
|
|
* Redistribution of these files must retain the above copyright notice.
|
|
*
|
|
* @package PICKLES
|
|
* @author Josh Sherman <josh@phpwithpickles.org>
|
|
* @copyright Copyright 2007-2010, Gravity Boulevard, LLC
|
|
* @license http://www.gnu.org/licenses/gpl.html GPL v3
|
|
* @link http://phpwithpickles.org
|
|
*/
|
|
|
|
/**
|
|
* PostgreSQL Database Abstraction Layer
|
|
*/
|
|
class Database_PDO_PostgreSQL extends Database_PDO_Common
|
|
{
|
|
/**
|
|
* Driver
|
|
*
|
|
* @access protected
|
|
* @var string
|
|
*/
|
|
protected $driver = 'pdo_pgsql';
|
|
|
|
/**
|
|
* DSN format
|
|
*
|
|
* @access protected
|
|
* @var string
|
|
*/
|
|
protected $dsn = 'pgsql:host=[[hostname]];port=[[port]];dbname=[[database]];user=[[username]];password=[[password]]';
|
|
|
|
/**
|
|
* Default port
|
|
*
|
|
* @access proceted
|
|
* @var integer
|
|
*/
|
|
protected $port = 5432;
|
|
}
|
|
|
|
?>
|