]> git.evergreen-ils.org Git - working/Evergreen.git/commit
In actor.usr_merge(): For each *_bucket table, transfer the buckets
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 29 Jun 2009 18:53:51 +0000 (18:53 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 29 Jun 2009 18:53:51 +0000 (18:53 +0000)
commit9d63ada82cf0e9dccac7ef35668034912b7ca19b
treeeddf0557d91fb9a1b350b25268595ac0f8aa9fca
parente337c0b734d5b5314fa877908768ac7888923508
In actor.usr_merge(): For each *_bucket table, transfer the buckets
belonging to the source user into the custody of the destination user.

In order to avoid colliding with an existing bucket owned by the
destination user, append the source user's id (in parenthesese) to the
name.  If you still get a collision, add successive spaces to the name
and keep trying until you succeed.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@13481 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/999.functions.global.sql