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 1qYAdZ-000xVC-Jf for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Aug 2023 19:32:29 +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 1qYAdY-00AENL-Dg for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Aug 2023 19:32:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYAdY-00AEND-3U for pgsql-hackers@lists.postgresql.org; Mon, 21 Aug 2023 19:32:27 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qYAdR-000E2t-3U for pgsql-hackers@lists.postgresql.org; Mon, 21 Aug 2023 19:32:27 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fe4cdb72b9so35551525e9.0 for ; Mon, 21 Aug 2023 12:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692646339; x=1693251139; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=bdega4aprTeHlOGCu1Sc9IKaOabsbz4MTgirBtVfssY=; b=sLGHlmtuPPeocFCVQd74WNcIR0zD18iJ2oMGkVIdWVUp2P1gidNA+5l4e44mesH4YG NM+SY+QfSns6cnnC/ti6QkoJue+ODv/r31/uDlP76ITXPeqRDoVlRmesyZN175GD3Vta 0ei5bEUOPu5VgAaGZiV16i1lbfWS+AamYzmm00NgyjagPNDEdOSWRgDHcdFx+HHCTM3r hDG+t0y+9ozNF8q+jaaKvj0ZJT8KuLavlRKMTjTSlhSh3Ntot2Hzip1WFGWQpOT8DKho nbvxC8nOTLaNAAlJsWK5TEKDGn+Gwj5E4UHwn7+QaW5jBlpI9UfQT/Hox3FKb7NKfjiq 0Qtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692646339; x=1693251139; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bdega4aprTeHlOGCu1Sc9IKaOabsbz4MTgirBtVfssY=; b=JPYEi8x69fjOMF/hYx0oVow4oPGBqfitHz9cuU7cdxSRcCtGukf+yK5Lhpn8WZ1vD5 EtmBEQD3571hggk5emnWXZ63LkMvr8RduexC8O47hX7jbNveW6iQWH3ca8JfFw5631rn ObT3kyNEbwRyufx4j9o+fB2IBWEdfhrAm7im9ToTHFLbnss/W74x2bCtJldPmmerGcpg AUnkjAbAg3aVlOrvWUTr2Aa7BjmFQFm8UQcaIg5WWtMxzfsVV/CphhKe5HsVrfuzf6kk fI8pOJjMxPbLz2H5fD7d286QicqPC8ypJodh0T2EaIA4pmlGp3qygACIp8quJ5qZ3UJJ umVQ== X-Gm-Message-State: AOJu0YyU15e5zvnuR9pzbEVIsDinpTDs+3lMxuc41wq6/nHJOi3ijy0B PFS2aJdpIk/iuj743HOa0JTYwIzW8/c= X-Google-Smtp-Source: AGHT+IETK90OKZSUerlPxRXOxwx0lGjUTURmwFqVRUJUtZVN4Ip/GxoE9Wy5VWdUGOVozZOs1bQZ8g== X-Received: by 2002:adf:f64c:0:b0:317:718a:e83f with SMTP id x12-20020adff64c000000b00317718ae83fmr5580092wrp.68.1692646318888; Mon, 21 Aug 2023 12:31:58 -0700 (PDT) Received: from smtpclient.apple (adsl-180.109.242.233.tellas.gr. [109.242.233.180]) by smtp.gmail.com with ESMTPSA id d4-20020adfe844000000b003196b1bb528sm13383184wrn.64.2023.08.21.12.31.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Aug 2023 12:31:58 -0700 (PDT) From: Markur Sens Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: C function to return double precision[][] Message-Id: Date: Mon, 21 Aug 2023 22:31:47 +0300 To: pgsql-hackers@lists.postgresql.org X-Mailer: Apple Mail (2.3731.600.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Is there any piece of code I could see how to achieve $subject ?=20 I haven=E2=80=99t found anything in the standard library or contrib = modules. I=E2=80=99m trying to build ArrayType ** of sorts and return a Datum of = those but I can=E2=80=99t seem to manage memory correctly.=20