Project

General

Profile

Actions

Feature #27985

closed

Support of gem pg 1.0.0 (PostgreSQL)

Feature #27985: Support of gem pg 1.0.0 (PostgreSQL)

Added by VVD VVD almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gems support
Target version:
-
Resolution:

Description

Redmine 3.4.3 uses gem pg 0.18.1 by default, but work fine with all versions of pg till 0.21.0.
Gem pg 1.0.0 was released January 10, 2018 and Redmine 3.4.3 don't support it.


Related issues 1 (0 open — 1 closed)

Is duplicate of Redmine - Patch #28505: Update pg gem to 1.0ClosedGo MAEDAActions

Updated by Go MAEDA almost 9 years ago Actions #1

  • Category changed from Database to Gems support

I think we can use pg gem v0.21.0 for Redmine 4.0.0 but it is too early to move to pg gem v1.0.0 because it doesn't support PostgreSQL earlier than version 9.2.

Some Linux distributions bundle earlier version of PostgreSQL. For example, CentOS 6.9 bundles PostgreSQL 8.4. Although CentOS 6 is not the latest version, it is widely used in production and CentOS team will support CentOS 6 until November 30, 2020.

pg gem 1.0.0 dropped support for PostgreSQL < 9.2:
https://bitbucket.org/ged/ruby-pg/src/b8d08d4347d564b7ad89c2f3cb26bbdf05dcfe3b/History.rdoc?at=default&fileviewer=file-view-default#History.rdoc-8

CentOS 6 will be supported until November 30, 2020:
https://wiki.centos.org/HowTos/EOL

Updated by Go MAEDA almost 9 years ago Actions #2

Ruby on Rails does not support pg v1.0.0 yet. We have to wait for Rails to support it.

AR 5.1.4 causes `Gem::LoadError` with pg 1.0.0 (wants '~> 0.18') · Issue #31669 · rails/rails

Updated by VVD VVD almost 9 years ago Actions #3

Agree about not to move by default on pg 1.0.0, but if we can add support of pg 1.0.0 - better to do this.

Updated by Go MAEDA almost 9 years ago Actions #4

VVD VVD wrote:

Agree about not to move by default on pg 1.0.0, but if we can add support of pg 1.0.0 - better to do this.

Maybe you will be able to run Redmine with pg v1.0.0 if Ruby on Rails supports it. In other words, you will never be able to use pg v1.0.0 unless Rails supports it. I think there is nothing to do on our side.

Updated by VVD VVD almost 9 years ago Actions #5

Ok. Close? Or Waiting unless Rails supports it?

Updated by Go MAEDA almost 9 years ago Actions #6

VVD VVD wrote:

Ok. Close? Or Waiting unless Rails supports it?

I would like to keep this issue open until we have updated to the latest version of pg gem.

Updated by Go MAEDA over 8 years ago Actions #7

Updated by Go MAEDA over 8 years ago Actions #8

  • Status changed from New to Closed

Updated by Marius BĂLTEANU over 8 years ago Actions #9

Go Maeda, sorry for not finding this ticket.

Actions

Also available in: PDF Atom