Based on discussion, it seems the idea of using search path seems accepted.
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. --------------------------------------------------------------------------- Kris Jurka wrote: > > The attached patch allows SET CONSTRAINTS to take a schema qualified > constraint name (myschema.t1_fk_t2) and when given a bare constraint name > it uses the search_path to determine the matching constraint instead of > the previous behavior of disabling all identically named constraints. > > Kris Jurka Content-Description: [ Attachment, skipping... ] -- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. + ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly