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 1mtFkd-0002V9-Km for pgsql-general@arkaria.postgresql.org; Fri, 03 Dec 2021 21:05:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mtFkb-0004Vn-Re for pgsql-general@arkaria.postgresql.org; Fri, 03 Dec 2021 21:05:49 +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 1mtFkb-0004Ve-Gf for pgsql-general@lists.postgresql.org; Fri, 03 Dec 2021 21:05:49 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtFkU-0003Fb-Jj for pgsql-general@postgresql.org; Fri, 03 Dec 2021 21:05:48 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 1C9933200E5D; Fri, 3 Dec 2021 16:05:41 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 03 Dec 2021 16:05:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:references:cc:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Q aRz5DFUGJLb2tATX8y52U78XNjqoSmg6ptUWxAsBNo=; b=tuOvfP8TbV69oSDRq +UgrgnrglINmC/n6+YL3IHRaqhcOCfhm9VFtJ59TA1VJjREgS6I4zVfZ7ewDR8Yd lRtVeZ4Vt+J3Vm6sKNabcrvg6hoEI6j2xlTrEokb/ApI93wolSyPfXK0+TGXP7bD WK8cN5x5SqtoR3W7SrGR2cHzZOHVRAX+e//aHrHlJhB8prMIvLfIlA+w9Q6yHE/G DgDTF/mRhsjnLUemZFxLoDrzyJuMYAfJivIrprik+u1Q9T19ERaZFqrztoBhRpZk n//6hsIVMIeyFS/D6TDmHaDHq6bceKvzIQBUEGOVAzS1GO5G1xlwdpcXrAeTXoR4 AGaLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=QaRz5DFUGJLb2tATX8y52U78XNjqoSmg6ptUWxAsB No=; b=O3SSLOJaIsu0lOJaa/Gk+mhV1siv+2ReWl+C5ou1GioKBaWQJOa3PGIpE wVJvSwUPXsYSCyhMu0fq95XIMtcHLRoMVXCDwQGD189h8dlcJnb6eTzaUBm493gu Zs07RsA0qkg+aniMN6TwQoJi7sonnsFaA11kZsz6bGzS0AyzO6bwCmIXu6wGxN2T 2AEcfBlfSZFphStXfxDkBmtQQ59wPG+5YbSz2obDNK+sWiSVDmUpgOkjEYtrQ4z/ Ay8j+D4wd/KAs9MSgQFWYlwk57crcw3qGBvxCJhMHuhTWria9kbSEXvj87wbdWeI d2a2/5nsC2rn2f6ZaeH2yCXXQYC7A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieejgddugeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepkedtvdehve euffdthfefueefjeeuiefhuedvtdfgtdfhheevjeetgffhtdejgfeknecuffhomhgrihhn pehmvghtrggtphgrnhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Dec 2021 16:05:39 -0500 (EST) Message-ID: <22658029-6d80-2a0f-91e1-72991f4e8e13@aklaver.com> Date: Fri, 3 Dec 2021 13:05:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Insert binary file into bytea where PG server does not have access to the file ? Content-Language: en-US To: David Gauthier References: <58ae5076-2faa-db4a-2919-9d2ffc650fdd@aklaver.com> Cc: pgsql-general From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/3/21 12:42, David Gauthier wrote: Please reply to list also. Ccing list > Ya, perl, how about perl ? > That would depend on what Perl database driver you are using. Assuming DBD::Pg: https://metacpan.org/pod/DBD::Pg Then search on binary. Folks with Perl experience can provide more detailed information. -- Adrian Klaver adrian.klaver@aklaver.com