From a0f25c254c35d5a27690703cccd9d6acd0131ce8 Mon Sep 17 00:00:00 2001
From: Luca Ferrari <fluca1978@gmail.com>
Date: Mon, 17 Oct 2022 12:30:10 +0200
Subject: Task 2 plpgsql

---
 challenge-187/luca-ferrari/postgresql/ch-2.sql | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 challenge-187/luca-ferrari/postgresql/ch-2.sql

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

diff --git a/challenge-187/luca-ferrari/postgresql/ch-2.sql b/challenge-187/luca-ferrari/postgresql/ch-2.sql
new file mode 100644
index 0000000000..f9659e9ac2
--- /dev/null
+++ b/challenge-187/luca-ferrari/postgresql/ch-2.sql
@@ -0,0 +1,15 @@
+-- Perl Weekly Challenge 187
+-- Task 2
+
+
+CREATE SCHEMA IF NOT EXISTS pwc187;
+
+CREATE OR REPLACE FUNCTION
+pwc187.task2_plpgsql( a int[] )
+RETURNS int[]
+AS $CODE$
+BEGIN
+	RETURN pwc187.task2_plperl( a );
+END
+$CODE$
+LANGUAGE plpgsql;
-- 
cgit 

