Revert "Reworked Database stuff to be Datastore stuff"
This reverts commit ebd0018473
.
This commit is contained in:
parent
ebd0018473
commit
d25b042d8e
12 changed files with 180 additions and 170 deletions
45
classes/Database/PDO/PostgreSQL.php
Normal file
45
classes/Database/PDO/PostgreSQL.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
<?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 Database_PDO_PostgreSQL extends Database_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;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue