Bugs item #1481927, was opened at 2006-05-05 00:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1481927&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Postgres
Group: SQLObject release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: yoshuki (yoshuki)
Assigned to: Nobody/Anonymous (nobody)
Summary: "CASCADE" is never enabled.
Initial Comment:
I'm using 0.7.1dev_r1675 with PostgreSQL 8.1.3 in
TurboGears 0.9a5.
When I drop tables it has some foreign key.
"HINT: Use DROP ... CASCADE to drop the dependent
objects too."
I checked source and found the reason.
sqlobject/postgres/pgconnection.py:154
def dropTable(self, tableName, cascade=False):
is must be
def dropTable(self, tableName, cascade=True):
right?
Please check it out. Thank you.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1481927&group_id=74338
|