From 080fde56fb9825f48e63c97840234fbde25fedaa Mon Sep 17 00:00:00 2001
From: Luca Ferrari <fluca1978@gmail.com>
Date: Mon, 8 Jan 2024 10:17:22 +0100
Subject: PWC 251

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
---
 challenge-251/luca-ferrari/postgresql/ch-2.sql | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 challenge-251/luca-ferrari/postgresql/ch-2.sql

(limited to 'challenge-251/luca-ferrari/postgresql/ch-2.sql')

diff --git a/challenge-251/luca-ferrari/postgresql/ch-2.sql b/challenge-251/luca-ferrari/postgresql/ch-2.sql
new file mode 100644
index 0000000000..fcdf6a6f9a
--- /dev/null
+++ b/challenge-251/luca-ferrari/postgresql/ch-2.sql
@@ -0,0 +1,16 @@
+--
+-- Perl Weekly Challenge 251
+-- Task 2
+--
+-- See <https://perlweeklychallenge.org/blog/perl-weekly-challenge-251/>
+--
+
+CREATE SCHEMA IF NOT EXISTS pwc251;
+
+CREATE OR REPLACE FUNCTION
+pwc251.task2_plpgsql( matrix int[][] )
+RETURNS int
+AS $CODE$
+   SELECT pwc251.task2_plperl( matrix );
+$CODE$
+LANGUAGE sql;
-- 
cgit 

