From: Yamil Suarez Date: Fri, 28 Mar 2014 15:45:11 +0000 (-0400) Subject: Documentation: Changed return type of staging_importer() SP X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ab20899685ce2660424ad732bbeceb87b4a18f29;p=evergreen%2Fpines.git Documentation: Changed return type of staging_importer() SP Now it returns VOID, before it retunred NULL and gave an error --- diff --git a/docs/admin_initial_setup/migrating_your_data.txt b/docs/admin_initial_setup/migrating_your_data.txt index 4b0f85d8d9..da466ba6d4 100644 --- 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