The PostgreSQL version used in the datastore module is currently 11 as seen in : 
However this version is now at EOL and costs extra to be supported by AWS  (0.10$/h/VCPU) see:
https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-release-calendar.html
https://aws.amazon.com/rds/postgresql/pricing/
Could this be upgraded ?