Top Level :: Database

Package Information: DB_Table 0.23.0

Show All Changelogs

» Version » Information

1.5.6

2008年12月25日
stable

1.5.5

2008年06月17日
stable

1.5.4

2008年06月08日
stable

1.5.3

2008年06月06日
stable

1.5.2

2008年05月14日
stable

1.5.1

2008年03月28日
stable

1.5.0

2007年06月27日
stable

1.5.0RC3

2007年06月14日
beta

1.5.0RC2

2007年03月24日
beta

1.5.0RC1

2007年02月06日
beta

1.4.0

2006年11月09日
stable

1.3.2

2006年07月25日
stable

1.3.1

2006年07月19日
stable

1.3.0

2006年04月26日
stable

1.3.0RC5

2006年04月19日
beta

1.3.0RC4

2006年04月13日
beta

1.3.0RC3

2006年04月07日
beta

1.3.0RC2

2006年04月07日
beta

1.3.0RC1

2006年02月27日
beta

1.2.1

2005年09月13日
stable

1.2.0

2005年08月29日
stable

1.1.0

2005年08月07日
stable

1.0.1

2005年05月28日
stable

1.0.0

2005年03月07日
stable

1.0.0RC1

2005年02月23日
beta
0.23.0

Easy Install

Not sure? Get more info.

pear install DB_Table-0.23.0

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/DB_Table-0.23.0

Download

For manual installation only

0.23.0


Release date: 2004年12月30日 10:39 UTC
Release state: beta
Release uploaded by: pmjones

Changelog:

* WARNING: MULTIPLE BC BREAKS related to naming conventions,
mostly because of Oracle. Read and heed the following two notes
before you upgrade. These are per email conversations with,
patches from, and suggestions by Alex Hoebart.

* BC BREAK on name lengths:

Table, column, index, and sequence names are now limited
to 30 characters at table-creation time via the create()
method in Manager.php. This means that column names and
must be no longer than 30 characters.

More confusingly, this means that generated index names
can be no longer than 30 characters total. DB_Table
generates index names using the table name, an
underscore, the index name, and a '_idx' suffix. This
combination of rules is to soothe PostgreSQL (which does
not allow identical index names even if they are on
different tables) and Oracle (which has a 30-char limit
on index names). This means that the table name
combined with the index name cannot be longer than 25
characters (becuase of the separating underscore and the
'_idx' suffix). Yes, this sucks. Well, Oracle sucks.
:-(

Error codes and messages have been added to notify of
the new rules. effect. This should only affect users
who are creating new tables with DB_Table and should not
affect existing tables and indexes.

* BC BREAK on sequences:

If no sequence name is defined in a call to nextID(),
DB_Table used to default to '_table_id' as the name of
the sequence, and DB would take that to create a
'_table_id_seq' sequence name. However, Oracle will not
allow a sequence name to start with '_'. In addition,
Oracle has a maximum length of 30 for sequence names.

For Oracle compliance, and in the interest of
consistency between DB and DB_Table, as well as keeping
names under 30 chars, DB_Table now uses only the table
name as the default, which means that DB translates this
into 'tablename_seq'. Also, the nextID() method will
check to make sure the sequence name will end up being
no longer than 30 chars.

Users of DB_Table should rename their sequences to
remove the initial underscore and change the trailing
'_id_seq' to just '_seq' for any automatically-generated
sequence names. If you do not, the upgrade to DB_Table
0.23.0 will create a new sequence restarting at 1 with
the new non-underscored different-suffix name on the
first call to nextID().

* Added 'autocomplete' as a supported element, per Alex
Hobart.

* Added new keys to the $sql property to support per-query
'fetchmode' and 'fetchmode_object_class' settings. Patch
provided by Ian Eure.

* Quickform.php addRules() method now supports any registered
rule. Patch provided by Alex Hoebart.

* Valid.php isChar() is less restrictive and allows numbers
in character fields. Patch provided by Alex Hoebart.

* Fixed bug 2799 "error in getFormElement", patch provided
by David Glenn.
* Fixed bug 2918 "recast($data) timestamp zero packing",
reported by Simon Massey.
* Added selectCount() method to let you get a row-count
on an existing query; patch provided by Ian Eure.

Dependencies:

0.22.0

2004年10月27日
beta

0.21.2

2004年07月12日
alpha

0.21.1

2004年07月11日
alpha

0.21

2004年07月11日
alpha

0.18

2004年04月23日
alpha

0.17

2004年04月21日
alpha

AltStyle によって変換されたページ (->オリジナル) /