[Swift-commit] r5281 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Fri Nov 11 09:29:06 CST 2011


Author: lgadelha
Date: 2011-11-11 09:29:05 -0600 (Fri, 11 Nov 2011)
New Revision: 5281

Modified:
   provenancedb/pql_functions.sql
Log:
Minor changes.


Modified: provenancedb/pql_functions.sql
===================================================================
--- provenancedb/pql_functions.sql	2011-11-11 02:42:26 UTC (rev 5280)
+++ provenancedb/pql_functions.sql	2011-11-11 15:29:05 UTC (rev 5281)
@@ -90,11 +90,11 @@
 
 
 
-drop type compare_run_by_param_type cascade;
-create type compare_run_by_param_type as (run_id varchar, param varchar, value varchar);
+drop type compare_run_by_parameter_type cascade;
+create type compare_run_by_parameter_type as (run_id varchar, param varchar, value varchar);
 
-create or replace function compare_run_by_param(param_name varchar)
-returns setof compare_run_by_param_type
+create or replace function compare_run_by_parameter(param_name varchar)
+returns setof compare_run_by_parameter_type
 as $$
    select run_id, param, value
    from   ds_use,proc,in_mem
@@ -102,7 +102,7 @@
 $$ language sql;
 
 -- PostgreSQL >= 9.0
--- CREATE OR REPLACE FUNCTION compare_run_by_parameter(param_name VARCHAR) 
+-- CREATE OR REPLACE FUNCTION compare_run_by_parametereter(param_name VARCHAR) 
 -- RETURNS TABLE (
 --   run_id VARCHAR, 
 --   param VARCHAR, 
@@ -123,7 +123,7 @@
 --$$ LANGUAGE SQL;
 
 
---CREATE OR REPLACE FUNCTION compare_run_by_parameter(param_name1 VARCHAR, param_name2 VARCHAR) 
+--CREATE OR REPLACE FUNCTION compare_run_by_parametereter(param_name1 VARCHAR, param_name2 VARCHAR) 
 --RETURNS TABLE (
 --  workflow_id VARCHAR, 
 --  param_name1 VARCHAR, 
@@ -133,9 +133,9 @@
 --) 
 --AS $$
 --  SELECT * 
---  FROM   compare_run_by_parameter($1) as t 
+--  FROM   compare_run_by_parametereter($1) as t 
 --         INNER JOIN 
---         compare_run_by_parameter($2) as s 
+--         compare_run_by_parametereter($2) as s 
 --         USING (workflow_id); 
 --$$ LANGUAGE SQL;
 




More information about the Swift-commit mailing list