Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQBEB-0004TC-MQ for pgsql-general@arkaria.postgresql.org; Sun, 19 Apr 2020 14:47:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jQBEA-0004RW-Gw for pgsql-general@arkaria.postgresql.org; Sun, 19 Apr 2020 14:47:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQBEA-0004RP-9N for pgsql-general@lists.postgresql.org; Sun, 19 Apr 2020 14:47:22 +0000 Received: from mail1.trendhosting.net ([195.8.117.5]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQBE2-0002EN-B0 for pgsql-general@postgresql.org; Sun, 19 Apr 2020 14:47:21 +0000 Received: from localhost (localhost [127.0.0.1]) by mail1.trendhosting.net (Postfix) with ESMTP id 89D1A150EB for ; Sun, 19 Apr 2020 15:47:11 +0100 (BST) Received: from mail1.trendhosting.net ([127.0.0.1]) by localhost (thp003.trendhosting.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2NIx8GGzUSRV for ; Sun, 19 Apr 2020 15:47:08 +0100 (BST) Received: from [IPv6:2001:1620:e61:0:f64d:30ff:fe68:48b4] (unknown [IPv6:2001:1620:e61:0:f64d:30ff:fe68:48b4]) by mail1.trendhosting.net (Postfix) with ESMTPSA id AC563150D1 for ; Sun, 19 Apr 2020 15:47:08 +0100 (BST) To: pgsql-general@postgresql.org From: Daniel Pocock Subject: Anzacathon, PostgreSQL and IPFS Message-ID: Date: Sun, 19 Apr 2020 16:47:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi all, I've started putting together a hackathon, the Anzacathon[1], for Anzac Day. It revolves around data. I decided to distribute raw data for participants using SQLite files in the peer-to-peer IPFS filesystem. Then I put together this nice little recipe for importing the SQLite directly from IPFS to PostgreSQL using fuse and pgloader: https://gitlab.com/anzacathon/postgresql The script could be adapted for any similar activity. I also thought about designing a script that automatically discovers the IPFS sources, without listing them one by one. That will come later. Instead of SQLite, it is also possible to distribute CSV and pg_dump files through IPFS like this. Regards, Daniel 1. https://anzacathon.com