[interchange-cvs] CVS notice: activity by heins

interchange-cvs@lists.akopia.com interchange-cvs@lists.akopia.com
Sat, 14 Apr 2001 04:26 -0500


CVS activity by user 'heins':
interchange/lib/Vend/Table Common.pm,1.16.4.9,1.16.4.10 DBI.pm,1.25.2.26,1.25.2.27 DB_File.pm,1.3.6.6,1.3.6.7 GDBM.pm,1.3.6.6,1.3.6.7 InMemory.pm,1.3.6.4,1.3.6.5 LDAP.pm,1.6.6.4,1.6.6.5 SDBM.pm,1.1.2.6,1.1.2.7
Update of /anon_cvs/repository/interchange/lib/Vend/Table
In directory www.akopia.com:/tmp/cvs-serv16458/Table

Modified Files:
      Tag: DEV_4_7_0
	Common.pm DBI.pm DB_File.pm GDBM.pm InMemory.pm LDAP.pm 
	SDBM.pm 
Log Message:
  * Improve autonumbering support to automatically use sequences or
    autonumber field types. So now you can do:

	Database addr addr.txt dbi:Pg
	Database addr AUTO_SEQUENCE 1
	Database addr COLUMN_DEF    "code=int SERIAL PRIMARY KEY"
	Database addr COLUMN_DEF    "val=varchar(128)"

	and it will pick up the sequence at an insert. It makes calls to
	the known_capability, and does the last_value or last_sequence_id()
	call as appropriate to return the key value.

  * Tested with Postgres and Mysql. Should work for Oracle when the
	template is set -- we should provide some examples for selecting
	from the "dual" table.

  * Fix Vend::Interplate typo found by Bill Dawkins.