# Version of Postgres

**URL:** https://discuss.tryton.org/t/version-of-postgres/3642
**Category:** Developer
**Created:** [January 5, 2021, 2:29am UTC](https://discuss.tryton.org/t/version-of-postgres/3642 "2021-01-05T02:29:01Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![johnf](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/848f3c/32.png) [@johnf](https://discuss.tryton.org/u/johnf)
#### Post date: [January 5, 2021, 2:29am UTC](https://discuss.tryton.org/t/version-of-postgres/3642/1 "2021-01-05T02:29:02Z")

</div>

What versions of Postgres does the latest Tryton support? Does it support Postgres 13?

---

<div class="post-metadata">

### Author: ![dotbit](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/dotbit/32/2093_2.png) [@dotbit](https://discuss.tryton.org/u/dotbit)
#### Post date: [January 5, 2021, 8:10am UTC](https://discuss.tryton.org/t/version-of-postgres/3642/2 "2021-01-05T08:10:14Z")

</div>

Trytond uses psycopg2.  
Installing Trytond 5.8 using pip got me psycopg2 2.8.6.  
psycopg2 2.8.6 has support for Postgres 13, but I have not tested it.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [January 5, 2021, 8:22am UTC](https://discuss.tryton.org/t/version-of-postgres/3642/3 "2021-01-05T08:22:47Z")

</div>

> [@dotbit](#):
>
> psycopg2 2.8.6 has support for Postgres 13, but I have not tested it.

I can confirm tryton 5.8 works with Postgres 13 as we have some instances using this version.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 5, 2021, 9:05am UTC](https://discuss.tryton.org/t/version-of-postgres/3642/4 "2021-01-05T09:05:24Z")

</div>

The rule is that each series of Tryton support the supported version of PostgreSQL when the series was released the first time. So as PG13 was released on 2020-09-24, it is supported by 5.8 series which come just after.  
But our continuous integration always fetch the last PostgreSQL docker image and it is very rare that new PostgreSQL version become incompatible with Tryton.

---

<div class="post-metadata">

### Author: ![johnf](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/848f3c/32.png) [@johnf](https://discuss.tryton.org/u/johnf)
#### Post date: [January 5, 2021, 3:55pm UTC](https://discuss.tryton.org/t/version-of-postgres/3642/5 "2021-01-05T15:55:42Z")

</div>

Thanks for the information - it is good to know.  
Johnf

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [February 4, 2021, 3:55pm UTC](https://discuss.tryton.org/t/version-of-postgres/3642/6 "2021-02-04T15:55:48Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
