How can I insert the image as a blob in the table

From: Igor Korot <ikorot01(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How can I insert the image as a blob in the table
Date: 2021-04-11 21:03:59
Message-ID: CA+FnnTx7XUn28bgVOXHUBeBb+Qorkc-eYikqu55bQ9aq2Z4Kbg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, ALL,
I have an image on my hard drive and I'd like to store it in the BLOB
column of the images table.

Is there a simple SQL to do that in PostgreSQL?

Thank you.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Abraham, Danny 2021-04-11 23:11:09 RE: Re: Reuse of REF Cursor
Previous Message Zhihong Yu 2021-04-11 19:57:32 Re: Have I found an interval arithmetic bug?