Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Request #13929 Default value for 'onupdate' and 'ondelete' for foreign constraints
Submitted: 2008-05-18 14:10 UTC
From: ethnar Assigned: quipo
Status: Closed Package: MDB2 (version 2.5.0b1)
PHP Version: 5.2.1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-05-18 14:10 UTC] ethnar (Arkadiusz Bisaga)
Description: ------------ It'd be really handy to have an option of setting the default behavior for 'onupdate' and 'ondelete' when creating foreign constraints, when using either mysql, mysqli or pgsql driver. Right now it's hard-coded with 'RESTRICT' which is not the most desired solution sometimes. With current solution it'd be necessary to specify it for each foreign constraint that is created.

Comments

 [2008-05-31 11:50 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. -- added 'default_fk_action_ondelete' and 'default_fk_action_onupdate' options