pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Abdul Qoyyuum <aqoyyuum@cardaccess.com.au>
Cc: Igor Korot <ikorot01@gmail.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: How can I insert the image as a blob in the table
Date: Mon, 12 Apr 2021 20:37:46 -0600
Message-ID: <C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com> (raw)
In-Reply-To: <CAA3DN=W1u5VqV8zEd8wHw9qi8-MfGT9g-GCgnPXE2DPHGLTmYw@mail.gmail.com>
References: <CA+FnnTx7XUn28bgVOXHUBeBb+Qorkc-eYikqu55bQ9aq2Z4Kbg@mail.gmail.com>
	<CAKFQuwaGT1UecowEuwkG3pWmzP_EJdQP=rAZ7iyaQ40wqpi-ZQ@mail.gmail.com>
	<CA+FnnTy-Liwojw_B-ocFQWif7SWmjoqSwVAOCS29Sd01V9YXWQ@mail.gmail.com>
	<CAKFQuwY7kAkQCtsRezSma_-QCQO7jHQk1dy9-79OTHuEXRs6-w@mail.gmail.com>
	<CA+FnnTxoRhUa-gEaDjsd_MRkptzrDDUo+S2d=Gciuip-gNVSxw@mail.gmail.com>
	<CA+FnnTyRK==VtF3ULTOcG5OYHntGmMHE78XoGfTrcjjCuCQrPg@mail.gmail.com>
	<CAA3DN=W1u5VqV8zEd8wHw9qi8-MfGT9g-GCgnPXE2DPHGLTmYw@mail.gmail.com>



> On Apr 12, 2021, at 8:31 PM, Abdul Qoyyuum <aqoyyuum@cardaccess.com.au> wrote:
> 
> Have you tried
> 
> insert into table(picture) values(lo_import('D:\image.jpg'));
> ?
> 
No, I’m doing some non-standard compression on the way down.=

view thread (11+ messages)

Message-ID: <C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com>
Permalink:  ../C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com/
Also on:    postgresql.org/message-id/C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com, aqoyyuum@cardaccess.com.au, ikorot01@gmail.com, david.g.johnston@gmail.com
  Subject: Re: How can I insert the image as a blob in the table
  In-Reply-To: <C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com>
  References: <CA+FnnTx7XUn28bgVOXHUBeBb+Qorkc-eYikqu55bQ9aq2Z4Kbg@mail.gmail.com> <CAKFQuwaGT1UecowEuwkG3pWmzP_EJdQP=rAZ7iyaQ40wqpi-ZQ@mail.gmail.com> <CA+FnnTy-Liwojw_B-ocFQWif7SWmjoqSwVAOCS29Sd01V9YXWQ@mail.gmail.com> <CAKFQuwY7kAkQCtsRezSma_-QCQO7jHQk1dy9-79OTHuEXRs6-w@mail.gmail.com> <CA+FnnTxoRhUa-gEaDjsd_MRkptzrDDUo+S2d=Gciuip-gNVSxw@mail.gmail.com> <CA+FnnTyRK==VtF3ULTOcG5OYHntGmMHE78XoGfTrcjjCuCQrPg@mail.gmail.com> <CAA3DN=W1u5VqV8zEd8wHw9qi8-MfGT9g-GCgnPXE2DPHGLTmYw@mail.gmail.com> <C65AE464-002B-480B-9153-E0F80DA702EF@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox