Index: openacs-4/packages/lars-blogger/sql/postgresql/rss-register.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/sql/postgresql/rss-register.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/lars-blogger/sql/postgresql/rss-register.sql	30 Jan 2003 16:55:50 -0000	1.2
+++ openacs-4/packages/lars-blogger/sql/postgresql/rss-register.sql	28 Aug 2003 09:41:55 -0000	1.3
@@ -6,45 +6,29 @@
 -- @cvs-id $Id$
 --
 
-create function inline_0() returns integer as '
-declare
-        impl_id integer;
-        v_foo   integer;
-begin
-    -- the notification type impl
-    impl_id := acs_sc_impl__new(
-        ''RssGenerationSubscriber'',               -- impl_contract_name
-        ''pinds_blog_entries'',                    -- impl_name
-        ''lars-blogger''                           -- impl_owner_name
-    );  
+select acs_sc_impl__new(
+       'RssGenerationSubscriber',               -- impl_contract_name
+       'pinds_blog_entries',                    -- impl_name
+       'lars-blogger'                           -- impl_owner_name
+);
 
-    v_foo := acs_sc_impl_alias__new(
-        ''RssGenerationSubscriber'',               -- impl_contract_name
-        ''pinds_blog_entries'',                    -- impl_name
-        ''datasource'',                            -- impl_operation_name
-        ''lars_blog__rss_datasource'',             -- impl_alias
-        ''TCL''                                    -- impl_pl
-    );
+select acs_sc_impl_alias__new(
+       'RssGenerationSubscriber',               -- impl_contract_name
+       'pinds_blog_entries',                    -- impl_name
+       'datasource',                            -- impl_operation_name
+       'lars_blog__rss_datasource',             -- impl_alias
+       'TCL'                                    -- impl_pl
+);
 
-    v_foo := acs_sc_impl_alias__new(
-        ''RssGenerationSubscriber'',               -- impl_contract_name
-        ''pinds_blog_entries'',                    -- impl_name
-        ''lastUpdated'',                           -- impl_operation_name
-        ''lars_blog__rss_lastUpdated'',            -- impl_alias
-        ''TCL''                                    -- impl_pl
-    );
+select acs_sc_impl_alias__new(
+       'RssGenerationSubscriber',               -- impl_contract_name
+       'pinds_blog_entries',                    -- impl_name
+       'lastUpdated',                           -- impl_operation_name
+       'lars_blog__rss_lastUpdated',            -- impl_alias
+       'TCL'                                    -- impl_pl
+);
 
-    PERFORM acs_sc_binding__new (
-        ''RssGenerationSubscriber'',
-        ''pinds_blog_entries''
-    );
-
-    return (0);
-end;
-' language 'plpgsql';
-
-select inline_0();
-drop function inline_0();
-
-
-
+select acs_sc_binding__new (
+    'RssGenerationSubscriber',                  -- contract_name
+    'pinds_blog_entries'                        -- impl_name
+);
