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 1jZ4Bf-0002Xx-3F for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 03:05:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZ4Be-0001UO-1w for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 03:05:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZ4Bd-0001UH-Nf for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 03:05:29 +0000 Received: from mail-ot1-x329.google.com ([2607:f8b0:4864:20::329]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jZ4BX-0002te-9d for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 03:05:28 +0000 Received: by mail-ot1-x329.google.com with SMTP id 72so1254970otu.1 for ; Wed, 13 May 2020 20:05:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=WyQu8RcblXJ8N3QCqYmrE5amZtzVRdU3fdpPKaidRWg=; b=K6YPbJnt77dwEKVnuTX7o9zi6Bm5pTd3Nu3THJgLm2FdlQqLZLDr/oQka6Fkium/M5 BSwsJyXhBTpwZRL/eRly2sV+S9n5VjA+LAalp3dRe35HAkpiKpNCH2dTOLJVqguhwXjt +Tm8z6dxMaLfXiQ1kN8TMNqpM4k6x0O0FBagdTB9Mt0fMhSflU18ybPnzAhW24V8JQgQ b6b0gtAGhgtoxqDJTnlTYvFOk+Tjq4ONBMcSWstIEDv7vT3Xb59eO/nGabf1ZQQ8kQ+W QHntKncjiRgyZSxosQrfIzo2kabd9D4S/ac0RTRFhzwyV9SOh40bDsCEPvPazYWBoQVI StkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=WyQu8RcblXJ8N3QCqYmrE5amZtzVRdU3fdpPKaidRWg=; b=kfbiTbb68XVRjC3dthYakTc9Ee+AaCB2+rUNcUbQgvshgfaeUbrYYkj+WmrUBtCoZ3 5pNLpvROVYCDBVzNk7TOHdXCJLfUIEUYkwsCJ8LA6NLixn2GIPI0jfPIfUZ5QP+nQH99 LDpr0fGb+zLq9Yef9/5XmTTvQW8N2blS2MiNIIacFCRBjBuoPpY1Ksnh5I8+SIVeJBOA 0BNDKpoVlHLzq7v0wyUa3mkHqhOxU22hun/zUwpQ/KJ6Fbe2ve7Rc4aR6ai+7WLu32bB /TdP/44Z3i89JfO0x0yu4trYW4JFDM6io6DJiumfTyOVDb4auTK/+d1xFM7kDPJLYFAy 559A== X-Gm-Message-State: AOAM533GBgYWUO1JmCS30QNDFeYXsBFdsuFdQr/Im5TmLeDByCfLVnpr ABnne750IZUztG0/SR3z6Q6YDuVTSgY= X-Google-Smtp-Source: ABdhPJwEf70NpR5ZbCOaRKYfIpdKwmb8hl2/H2X1pUJmwAhUMbEDJERaYGyWfKcnaTg8zhfUD0yY8A== X-Received: by 2002:a9d:564:: with SMTP id 91mr1990720otw.250.1589425522077; Wed, 13 May 2020 20:05:22 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id b19sm6564807oii.1.2020.05.13.20.05.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 May 2020 20:05:21 -0700 (PDT) Subject: Re: Practical usage of large objects. To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: Date: Wed, 13 May 2020 22:05:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Our databases use bytea instead.  (I don't know why the application vendor decided on that.) On 5/13/20 12:53 PM, Dmitry Igrishin wrote: > Hello all, > > As you know, PostgreSQL has a large objects facility [1]. I'm curious > are there real systems which are use this feature? I'm asking because > and I'm in doubt should the Pgfe driver [2] provide the convenient API > for working with large objects or not. > > Thanks! > > [1] https://www.postgresql.org/docs/12/largeobjects.html > [2] https://github.com/dmitigr/pgfe > > -- Angular momentum makes the world go 'round.