projects
/
evergreen
/
masslnc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d2e504
)
Documentation: Changed return type of staging_importer() SP
author
Yamil Suarez
<yamil@yamil.com>
Fri, 28 Mar 2014 15:45:11 +0000
(11:45 -0400)
committer
Yamil Suarez
<yamil@yamil.com>
Fri, 28 Mar 2014 15:45:11 +0000
(11:45 -0400)
Now it returns VOID, before it retunred NULL and gave an error
docs/admin_initial_setup/migrating_your_data.txt
patch
|
blob
|
history
diff --git
a/docs/admin_initial_setup/migrating_your_data.txt
b/docs/admin_initial_setup/migrating_your_data.txt
index
4b0f85d
..
da466ba
100644
(file)
--- a/
docs/admin_initial_setup/migrating_your_data.txt
+++ b/
docs/admin_initial_setup/migrating_your_data.txt
@@
-95,7
+95,7
@@
CREATE TABLE staging_records_import (id BIGSERIAL, dest BIGINT, marc TEXT);
+
[source,sql]
------------------------------------------------------------------------------
-CREATE OR REPLACE FUNCTION staging_importer() RETURNS
NULL
AS $$
+CREATE OR REPLACE FUNCTION staging_importer() RETURNS
VOID
AS $$
DECLARE stage RECORD;
BEGIN
FOR stage IN SELECT * FROM staging_records_import ORDER BY id LOOP