From 1d194ea5599b436e6221e922391e4ddab3335660 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Fri, 9 Dec 2016 19:34:42 +0200 Subject: [PATCH] Update notes for 2016-12-09 --- content/post/2016-12.md | 6 ++++++ public/2016-12/index.html | 7 ++++++- public/index.xml | 5 +++++ public/post/index.xml | 5 +++++ public/tags/notes/index.xml | 5 +++++ 5 files changed, 27 insertions(+), 1 deletion(-) diff --git a/content/post/2016-12.md b/content/post/2016-12.md index ed3549230..52d941af0 100644 --- a/content/post/2016-12.md +++ b/content/post/2016-12.md @@ -431,3 +431,9 @@ UPDATE 362 - More work on finishing rough draft of KM4Dev article - Set PostgreSQL's `shared_buffers` on CGSpace to 10% of system RAM (1200MB) +- Run the following author corrections on CGSpace: + +``` +dspace=# update metadatavalue set authority='34df639a-42d8-4867-a3f2-1892075fcb3f', text_value='Thorne, P.J.' where resource_type_id=2 and metadata_field_id=3 and authority='18349f29-61b1-44d7-ac60-89e55546e812' or authority='021cd183-946b-42bb-964e-522ebff02993'; +dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab764', text_value='Thornton, Philip K.', confidence=600 where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^Thornton[,\.]? P.*'; +``` diff --git a/public/2016-12/index.html b/public/2016-12/index.html index 12f9c912a..31df40651 100644 --- a/public/2016-12/index.html +++ b/public/2016-12/index.html @@ -30,7 +30,7 @@ - + @@ -568,8 +568,13 @@ UPDATE 362 +
dspace=# update metadatavalue set authority='34df639a-42d8-4867-a3f2-1892075fcb3f', text_value='Thorne, P.J.' where resource_type_id=2 and metadata_field_id=3 and authority='18349f29-61b1-44d7-ac60-89e55546e812' or authority='021cd183-946b-42bb-964e-522ebff02993';
+dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab764', text_value='Thornton, Philip K.', confidence=600 where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^Thornton[,\.]? P.*';
+
+ diff --git a/public/index.xml b/public/index.xml index 094279352..8a875eb9e 100644 --- a/public/index.xml +++ b/public/index.xml @@ -472,7 +472,12 @@ UPDATE 362 <ul> <li>More work on finishing rough draft of KM4Dev article</li> <li>Set PostgreSQL&rsquo;s <code>shared_buffers</code> on CGSpace to 10% of system RAM (1200MB)</li> +<li>Run the following author corrections on CGSpace:</li> </ul> + +<pre><code>dspace=# update metadatavalue set authority='34df639a-42d8-4867-a3f2-1892075fcb3f', text_value='Thorne, P.J.' where resource_type_id=2 and metadata_field_id=3 and authority='18349f29-61b1-44d7-ac60-89e55546e812' or authority='021cd183-946b-42bb-964e-522ebff02993'; +dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab764', text_value='Thornton, Philip K.', confidence=600 where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^Thornton[,\.]? P.*'; +</code></pre> diff --git a/public/post/index.xml b/public/post/index.xml index 723e92964..dbb86cb9b 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -472,7 +472,12 @@ UPDATE 362 <ul> <li>More work on finishing rough draft of KM4Dev article</li> <li>Set PostgreSQL&rsquo;s <code>shared_buffers</code> on CGSpace to 10% of system RAM (1200MB)</li> +<li>Run the following author corrections on CGSpace:</li> </ul> + +<pre><code>dspace=# update metadatavalue set authority='34df639a-42d8-4867-a3f2-1892075fcb3f', text_value='Thorne, P.J.' where resource_type_id=2 and metadata_field_id=3 and authority='18349f29-61b1-44d7-ac60-89e55546e812' or authority='021cd183-946b-42bb-964e-522ebff02993'; +dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab764', text_value='Thornton, Philip K.', confidence=600 where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^Thornton[,\.]? P.*'; +</code></pre> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index ee6ab922f..500df47e3 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -471,7 +471,12 @@ UPDATE 362 <ul> <li>More work on finishing rough draft of KM4Dev article</li> <li>Set PostgreSQL&rsquo;s <code>shared_buffers</code> on CGSpace to 10% of system RAM (1200MB)</li> +<li>Run the following author corrections on CGSpace:</li> </ul> + +<pre><code>dspace=# update metadatavalue set authority='34df639a-42d8-4867-a3f2-1892075fcb3f', text_value='Thorne, P.J.' where resource_type_id=2 and metadata_field_id=3 and authority='18349f29-61b1-44d7-ac60-89e55546e812' or authority='021cd183-946b-42bb-964e-522ebff02993'; +dspace=# update metadatavalue set authority='2df8136e-d8f4-4142-b58c-562337cab764', text_value='Thornton, Philip K.', confidence=600 where resource_type_id=2 and metadata_field_id=3 and text_value ~ '^Thornton[,\.]? P.*'; +</code></pre>