Re: keeping images in a bytea field on AWS RDS

Поиск
Список
Период
Сортировка
От Ron
Тема Re: keeping images in a bytea field on AWS RDS
Дата
Msg-id 8dc1619c-b29e-17ae-7ae7-1dd3928c7bb6@gmail.com
обсуждение исходный текст
Ответ на keeping images in a bytea field on AWS RDS  (Richard Bernstein <richb201@gmail.com>)
Ответы Re: keeping images in a bytea field on AWS RDS
Список pgsql-general
On 3/31/20 2:49 PM, Richard Bernstein wrote:
I am using postgresql on RDS. I need to upload an image to the table. I understand that I need to set the PGDATA directory and place the image file in it, before setting the path in the bytea field. But how do I set PGDATA if I don't have the ability to set an environment variable, and don't have access to the following on an AWS controlled installation?

$ initdb -D /usr/local/pgsql/data 

or

pg_ctl -D /usr/local/pgsql/data initdb

initdb is definitely not what you want to do just to load an image into an exiting database.

--
Angular momentum makes the world go 'round.

В списке pgsql-general по дате отправления:

Предыдущее
От: Alan Hodgson
Дата:
Сообщение: Re: keeping images in a bytea field on AWS RDS
Следующее
От: Christophe Pettus
Дата:
Сообщение: Re: keeping images in a bytea field on AWS RDS