From 3e655a098886fc8d97d1bb333236e989e892616c Mon Sep 17 00:00:00 2001 From: Luca Ferrari Date: Wed, 27 Dec 2023 10:59:10 +0100 Subject: PWC 249 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-249/luca-ferrari/postgresql/ch-2.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 challenge-249/luca-ferrari/postgresql/ch-2.sql (limited to 'challenge-249/luca-ferrari/postgresql/ch-2.sql') diff --git a/challenge-249/luca-ferrari/postgresql/ch-2.sql b/challenge-249/luca-ferrari/postgresql/ch-2.sql new file mode 100644 index 0000000000..7e50c2054e --- /dev/null +++ b/challenge-249/luca-ferrari/postgresql/ch-2.sql @@ -0,0 +1,16 @@ +-- +-- Perl Weekly Challenge 249 +-- Task 2 +-- +-- See +-- + +CREATE SCHEMA IF NOT EXISTS pwc249; + +CREATE OR REPLACE FUNCTION +pwc249.task2_plpgsql( s text ) +RETURNS int[] +AS $CODE$ + SELECT pwc249.task2_plperl( s ); +$CODE$ +LANGUAGE plpgsql; -- cgit