Inheritance diagram for ADODB2_postgres:

Public Member Functions | |
| MetaType ($t, $len=-1, $fieldobj=false) | |
| ActualType ($meta) | |
| AddColumnSQL ($tabname, $flds) | |
| AlterColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') | |
| DropColumnSQL ($tabname, $flds, $tableflds='', $tableoptions='') | |
| _recreate_copy_table ($tabname, $dropflds, $tableflds, $tableoptions='') | |
| DropTableSQL ($tabname) | |
| _CreateSuffix ($fname, &$ftype, $fnotnull, $fdefault, $fautoinc, $fconstraint) | |
| _DropAutoIncrement ($tabname) | |
| _IndexSQL ($idxname, $tabname, $flds, $idxoptions) | |
| _GetSize ($ftype, $ty, $fsize, $fprec) | |
Public Attributes | |
| $databaseType = 'postgres' | |
| $seqField = false | |
| $seqPrefix = 'SEQ_' | |
| $addCol = ' ADD COLUMN' | |
| $quote = '"' | |
| $renameTable = 'ALTER TABLE %s RENAME TO %s' | |
| $dropTable = 'DROP TABLE %s CASCADE' | |
Definition at line 16 of file datadict-postgres.inc.php.
|
||||||||||||||||||||||||||||
|
Definition at line 267 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 283 of file datadict-postgres.inc.php. |
|
||||||||||||||||||||
|
Reimplemented from ADODB_DataDict. Definition at line 361 of file datadict-postgres.inc.php. |
|
||||||||||||||||||||
|
Reimplemented from ADODB_DataDict. Definition at line 329 of file datadict-postgres.inc.php. |
|
||||||||||||||||||||
|
Save the content into a temp. table, drop and recreate the original table and copy the content back in We also take care to set the values of the sequenz and recreate the indexes. All this is done in a transaction, to not loose the content of the table, if something went wrong! Definition at line 210 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 90 of file datadict-postgres.inc.php. |
|
||||||||||||
|
Adding a new Column reimplementation of the default function as postgres does NOT allow to set the default in the same statement
Reimplemented from ADODB_DataDict. Definition at line 128 of file datadict-postgres.inc.php. |
|
||||||||||||||||||||
|
Change the definition of one column Postgres can't do that on it's own, you need to supply the complete defintion of the new table, to allow, recreating the table and copying the content over to the new table
Reimplemented from ADODB_DataDict. Definition at line 165 of file datadict-postgres.inc.php. |
|
||||||||||||||||||||
|
Drop one column Postgres < 7.3 can't do that on it's own, you need to supply the complete defintion of the new table, to allow, recreating the table and copying the content over to the new table
Reimplemented from ADODB_DataDict. Definition at line 185 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 256 of file datadict-postgres.inc.php. |
|
||||||||||||||||
|
Reimplemented from ADODB_DataDict. Definition at line 26 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 21 of file datadict-postgres.inc.php. |
|
|
Definition at line 18 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 24 of file datadict-postgres.inc.php. |
|
|
Definition at line 22 of file datadict-postgres.inc.php. |
|
|
Reimplemented from ADODB_DataDict. Definition at line 23 of file datadict-postgres.inc.php. |
|
|
Definition at line 19 of file datadict-postgres.inc.php. |
|
|
Definition at line 20 of file datadict-postgres.inc.php. |
1.4.6