---
title: "Rails 6 drops support for PostgreSQL version less than 9.3"
description: "Rails 6 has dropped support for PostgreSQL versions less than 9.3"
canonical_url: "https://www.bigbinary.com/blog/rails-6-drops-support-for-postgresql-less-than-9-3"
markdown_url: "https://www.bigbinary.com/blog/rails-6-drops-support-for-postgresql-less-than-9-3.md"
---

# Rails 6 drops support for PostgreSQL version less than 9.3

Rails 6 has dropped support for PostgreSQL versions less than 9.3

- Author: Prathamesh Sonpatki
- Published: April 10, 2019
- Categories: Rails 6, Rails

Before Rails 6, Rails was supporting PostgreSQL from version 9.1 and above. But
in Rails 6,
[support for versions less than 9.3 is dropped](https://github.com/rails/rails/pull/34520).
If your PostgreSQL version is less than 9.3 then an
[error](https://travis-ci.org/codetriage/codetriage/jobs/506656780#L1591) is
shown as follows.

```text
Your version of PostgreSQL (90224) is too old. Active Record supports PostgreSQL >= 9.3.
```

Travis CI uses
[PostgreSQL 9.2](https://docs.travis-ci.com/user/database-setup/#postgresql) by
default in their images. So this error can occur while testing the app on Travis
CI with Rails 6. It can be resolved by using an
[add-on for PostgreSQL](https://github.com/codetriage/codetriage/blob/rails-6/.travis.yml#L12-L13).

## Links

- [Human page](https://www.bigbinary.com/blog/rails-6-drops-support-for-postgresql-less-than-9-3)
