keeping images in a bytea field on AWS RDS - Mailing list pgsql-general

From Richard Bernstein
Subject keeping images in a bytea field on AWS RDS
Date
Msg-id CAKXm1c3nJZLMZ8BNN7Aa+cB2mXED1BC2T-D-hePnMZToHh-NKQ@mail.gmail.com
Whole thread Raw
Responses Re: keeping images in a bytea field on AWS RDS  (Christophe Pettus <xof@thebuild.com>)
Re: keeping images in a bytea field on AWS RDS  (Alan Hodgson <ahodgson@lists.simkin.ca>)
Re: keeping images in a bytea field on AWS RDS  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Index selection issues with RLS using expressions
Next
From: Christophe Pettus
Date:
Subject: Re: keeping images in a bytea field on AWS RDS