db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Fedorenko" <afedo...@informex.net>
Subject RE: [ANN] Torque 3.0.2 released
Date Mon, 23 Jun 2003 06:53:04 GMT
Hello.

Very good.

And just another small thing

-----------------
Actually, you use the same thing in
src\generator\src\templates\sql\base\oracle\drop.vm

DROP TABLE $table.Name CASCADE CONSTRAINTS;

So why it is not acceptable for PostgreSQL  ( beginning from 7.3 release
) ?
-----------------

Currently, nobody can rebuild schema because drop statements fail.

2.  DROP TABLE command

    ... from PostgreSQL documentation

    DROP TABLE always removes any indexes, rules, triggers, and 
constraints that exist for the target table. However, to drop a table 
that is referenced by a foreign-key constraint of another table, 
CASCADE must be specified. (CASCADE will remove the foreign-key 
constraint, not the other table itself.)

Code in file src\templates\sql\base\postgresql\drop.vm

DROP TABLE $table.Name;

Should be replaced with

DROP TABLE $table.Name CASCADE ;


I hope to see 3.0.3 release soon  :)


-----Original Message-----
From: Martin Poeschl [mailto:mpoeschl@marmot.at] 
Sent: Friday, June 20, 2003 11:17 PM
To: Turbine Torque Users List; Turbine Torque Developers List
Subject: [ANN] Torque 3.0.2 released

The Torque team is pleased to announce the 3.0.2 release!

http://db.apache.org/torque/torque-302/

This is a bugfix-release for Torque-3.0
There are no new features in this release!


You can find a full list of changes here:
http://db.apache.org/torque/torque-302/changes-report.html

You can find the Torque distributions here:
http://db.apache.org/builds/torque/release/3.0.2/



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message