Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkOIG-00CPon-Fq for pgsql-www@arkaria.postgresql.org; Wed, 13 Mar 2024 13:05:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rkOIF-003ICP-3n for pgsql-www@arkaria.postgresql.org; Wed, 13 Mar 2024 13:05:15 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkOIE-003IC5-Sd for pgsql-www@lists.postgresql.org; Wed, 13 Mar 2024 13:05:15 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rkOIB-004I7p-Qi for pgsql-www@postgresql.org; Wed, 13 Mar 2024 13:05:14 +0000 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-299b818d63aso660070a91.0 for ; Wed, 13 Mar 2024 06:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710335112; x=1710939912; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=aJMQYM6UsuxEt1RrJPFe8fm/3WccXqCA4lHb7b3KhaY=; b=d+PBVRwpkMjx4fEgXKEK695IYVCvp5hqJ2G+KYvpyOnOzwSPvJyT3r6ed833Wu7QMs gTQPRZpcCy1a1VuAxJc+sNdr94tWXxQufTVI9ma+bZqwB988aWGg2p7Zbp/p0bjD+med FESPQ5tiRyn2dL2zKVVCe6d9KXSBlXZEbR/Yd+FD8DoYUQyANKx5X/2xMB8q5C2APrhk l/OM/gG8nIZ1CSdkRuObP/cVxNXrUuOiCjb53j+MIeYlylua5v2hUHRW/hwD5UIldPRi U/yQuXDHAzk26oKiO5e7aj6y4EdYrvCMhD9unePrJDIi+2YHHrj58mstLLMbWmzdBTxj IoqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710335112; x=1710939912; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=aJMQYM6UsuxEt1RrJPFe8fm/3WccXqCA4lHb7b3KhaY=; b=IAUiZXYBK2nwkKlMKQyJuVmqk8aYORc6MItOzoMb5OtN+DYF3zbiswQKgTIMFVDvPn aqkmZ6lU9UMn31/LCs/+f8JpUJj0ZWAeK1UwbjMC8yLvdEcyEEVz9N5OMWDhvGG6NIZt ekWiLy5UD5BWAvFuT2kr5HcnjgMtUReC23KQI90Shw3Wl/7+Thmbpw2QCz68qJEsy5IN 2uTvAPkYxXV73LWLlWOPMvkprAkFLdwfH9h8GQc7Pbn1/GvLm1F/bAOmcHNirmDfCm+B uaRfw8jE+8GcYs6yO/YnC8/rofasZlkvGOImUMty+tqwuor0hPC/MKzhJB3nnB0xsX/S Hmeg== X-Gm-Message-State: AOJu0Yx/4TLK+jotD6+Tu1V/W2F7OWWKwkUQWxrPeXJbi9wE3NaJc6r4 22PoSgLS3H+FvNKUZGirhA4k8F8IzVaG+OXkd4s5C9j4qh1p2EoLZOy8TyDIMkKVWWnAqLcK+/t SprIG+AFFvBDsR9qH0OdfTyMeytFoNh2YMrE= X-Google-Smtp-Source: AGHT+IGUCAe2irZ3ue6ID4sY3rH4143SKKcCT7R/9srKOl5j07R+hhFQ/dEg98i3heS2Yu3NvGe0QSer0nn2Rv8abfw= X-Received: by 2002:a17:90a:d0c4:b0:299:1cce:f3c3 with SMTP id y4-20020a17090ad0c400b002991ccef3c3mr3659127pjw.7.1710335111693; Wed, 13 Mar 2024 06:05:11 -0700 (PDT) MIME-Version: 1.0 From: Magnus Falch Date: Wed, 13 Mar 2024 14:05:02 +0100 Message-ID: Subject: Edit wiki To: pgsql-www@postgresql.org Content-Type: multipart/alternative; boundary="000000000000c7905706138a6cb1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c7905706138a6cb1 Content-Type: text/plain; charset="UTF-8" I would like editor access to the wiki, my username is magnus.falch@gmail.com and I would like to modify the array_reverse snippets to add this one: CREATE OR REPLACE FUNCTION array_reverse_custom(input anyarray) RETURNS anyarray language sql returns null on null input parallel safe immutable AS $$ select array_agg(val order by pos desc) from unnest(input) with ordinality as elem(val,pos); $$; --000000000000c7905706138a6cb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I would like editor access to the wiki,
my username is magnus.falch@gmail.com and I would like t= o modify the array_reverse snippets to add this one:

CREATE OR REPLA= CE FUNCTION array_reverse_custom(input anyarray)
RETURNS anyarray
lan= guage sql
returns null on null input
parallel safe
immutable
A= S $$
select array_agg(val order by pos desc) from
unnest(input) with = ordinality as elem(val,pos);
$$;
--000000000000c7905706138a6cb1--