From dbe495712e34674a941fb1c17e0cd5bca5c55ae4 Mon Sep 17 00:00:00 2001
From: Luca Ferrari <fluca1978@gmail.com>
Date: Mon, 11 Mar 2024 11:11:03 +0100
Subject: PWC 260

Task 1 Raku done
Task 2 Raku done

Task 1 PL/Perl done
Task 2 PL/Perl done

Task 1 PL/PgSQL done
Task 2 PL/PgSQL done

Task 1 Python done
Task 2 Python done

Task 1 PL/Java done
Task 2 PL/Java done
---
 challenge-260/luca-ferrari/plpgsql/ch-2.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 challenge-260/luca-ferrari/plpgsql/ch-2.sql

(limited to 'challenge-260/luca-ferrari/plpgsql/ch-2.sql')

diff --git a/challenge-260/luca-ferrari/plpgsql/ch-2.sql b/challenge-260/luca-ferrari/plpgsql/ch-2.sql
new file mode 100644
index 0000000000..2ee0e07735
--- /dev/null
+++ b/challenge-260/luca-ferrari/plpgsql/ch-2.sql
@@ -0,0 +1,15 @@
+--
+-- Perl Weekly Challenge 260
+-- Task 2
+-- See <https://perlweeklychallenge.org/blog/perl-weekly-challenge-260>
+--
+
+CREATE SCHEMA IF NOT EXISTS pwc260;
+
+CREATE OR REPLACE FUNCTION
+pwc260.task2_plpgsql( w text )
+RETURNS int
+AS $CODE$
+   SELECT pwc260.task2_plperl( w );
+$CODE$
+LANGUAGE ùsql;
-- 
cgit 

