From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: How to Import image
Date: Mon, 17 Feb 2020 16:02:08 +0200
Message-ID: <674b18f1-ed04-d5b1-565e-c150402fe89d@matrix.gatewaynet.com> (raw)
In-Reply-To: <CAGDHE3-bMr0PKcD8Rq6CHf3Dq-8MXoCsSPz_-sJ8PDHYR8TU8w@mail.gmail.com>
References: <CAGDHE3-bMr0PKcD8Rq6CHf3Dq-8MXoCsSPz_-sJ8PDHYR8TU8w@mail.gmail.com>
On 17/2/20 8:30 π.μ., Dipanshu singh wrote:
> i have a list of students and i want to show the profile picture of students on web with the details.The name and details are showing correctly the only remaining thing is the image.guide me how to
> do it.
you mean the image is there and you want to show it? or you want to import it?
take a look at pg_read_binary_file for the case of bytea
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com, pgsql-admin@lists.postgresql.org
Subject: Re: How to Import image
In-Reply-To: <674b18f1-ed04-d5b1-565e-c150402fe89d@matrix.gatewaynet.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