diff options
Diffstat (limited to 'datadict/datadict-postgres.inc.php')
| -rw-r--r-- | datadict/datadict-postgres.inc.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/datadict/datadict-postgres.inc.php b/datadict/datadict-postgres.inc.php index d091fd4f..d403cee3 100644 --- a/datadict/datadict-postgres.inc.php +++ b/datadict/datadict-postgres.inc.php @@ -190,12 +190,15 @@ class ADODB2_postgres extends ADODB_DataDict /** * Change the definition of one column * - * Postgres can't do that on it's own, you need to supply the complete definition of the new table, - * to allow, recreating the table and copying the content over to the new table - * @param string $tabname table-name - * @param string $flds column-name and type for the changed column - * @param string $tableflds complete definition of the new table, eg. for postgres, default '' - * @param array/ $tableoptions options for the new table see CreateTableSQL, default '' + * Postgres can't do that on its own, you need to supply the complete + * definition of the new table, to allow recreating the table and copying + * the content over to the new table. + * + * @param string $tabname table-name + * @param string $flds column-name and type for the changed column + * @param string $tableflds complete definition of the new table, e.g. for postgres, default '' + * @param array $tableoptions options for the new table {@see CreateTableSQL()}, default '' + * * @return array with SQL strings */ function alterColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') @@ -294,7 +297,7 @@ class ADODB2_postgres extends ADODB_DataDict * @param string $tabname table-name * @param string $flds column-name and type for the changed column * @param string $tableflds complete definition of the new table, eg. for postgres, default '' - * @param array/ $tableoptions options for the new table see CreateTableSQL, default '' + * @param array $tableoptions options for the new table {@see CreateTableSQL}, default [] * @return array with SQL strings */ function dropColumnSQL($tabname, $flds, $tableflds='', $tableoptions='') @@ -321,7 +324,7 @@ class ADODB2_postgres extends ADODB_DataDict * @param string $tabname table-name * @param string $dropflds column-names to drop * @param string $tableflds complete definition of the new table, eg. for postgres - * @param array/string $tableoptions options for the new table see CreateTableSQL, default '' + * @param array|string $tableoptions options for the new table see CreateTableSQL, default '' * @return array with SQL strings */ function _recreate_copy_table($tabname, $dropflds, $tableflds, $tableoptions='') |
