https://bugzilla.wikimedia.org/show_bug.cgi?id=24780

--- Comment #1 from AlbertH <25albert...@gmail.com> 2010-08-13 14:32:02 UTC ---
In the meantime, I found this bug mentioned for Debian: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517237

The fix suggested there appears to work. I did the following (only changing the
ON DELETE action):

ALTER TABLE mediawiki.recentchanges DROP CONSTRAINT
recentchanges_rc_cur_id_fkey;

ALTER TABLE mediawiki.recentchanges
  ADD CONSTRAINT recentchanges_rc_cur_id_fkey FOREIGN KEY (rc_cur_id)
      REFERENCES mediawiki.page (page_id) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE SET NULL;

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to