
Connect to a PostgreSQL service from your local machine If your app writes database connection errors to STDOUT or STDERR, you can view recent errors with cf logs APP_NAME -recent. GOV.UK PaaS will automatically parse the VCAP_SERVICES environment variable to get details of the service and then set the DATABASE_URL variable to the first database found. Some libraries use TLS by default, but others will need to be manually configured. Your app must make a Transport Layer Security (TLS) connection to the service. Connect to a PostgreSQL service from your app New schema and use it, instead of relying on the default “public” schema.

AsĪ precaution, if you are very concerned about permissions, you should create a We disable use of the public schema to read-only users via an event trigger.
SET UP READ ONLY USER FOR AWS POSTGRESQL DATABASE WINDOWS

