Commit graph

14 commits

Author SHA1 Message Date
GitLab Bot
ceb0c326ae Add latest changes from gitlab-org/gitlab@master 2021-09-02 03:09:04 +00:00
GitLab Bot
7985071975 Add latest changes from gitlab-org/gitlab@master 2020-09-21 12:09:34 +00:00
GitLab Bot
2dfc108817 Add latest changes from gitlab-org/gitlab@master 2020-07-30 03:09:32 +00:00
Yorick Peterse
0cab88ef72
Backport EE YAML settings for PostgreSQL 2019-06-19 14:14:39 +02:00
bogdanvlviv
209e656e43
Update database.yml.postgresql
host is omitted by default
2017-10-17 21:15:01 +03:00
Stan Hu
f92a12c265 Disabled prepared statements in test
Some tests may test migrations and change the types of columns. If this
happens, Rails may cache a statement that will cause PostgreSQL to fail with
the message, "cached plan must not change result type":
https://github.com/rails/rails/issues/12330

This happened in https://gitlab.com/gitlab-org/gitlab-ee/issues/2890#note_34636077.
2017-07-10 20:38:26 -07:00
Lin Jen-Shin
3e1bd5570f Test both PostgreSQL and MySQL for the win. 2017-03-24 04:47:00 +08:00
Jacob Vosmaer
6b101abaef Remove 'socket' example PostgreSQL parameter
The ActiveRecord PostgreSQL adapter does not have a 'socket' option;
see:

https://github.com/rails/rails/blob/4-1-2/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L20
2014-07-01 18:27:50 +02:00
Jacob Vosmaer
a3731cf362 Use peer-based authentication for PostgreSQL 2013-10-02 08:07:36 +02:00
Dmitriy Zaporozhets
993af5d0d2 cattr_accessor is not threadsafe! 2013-06-11 18:15:18 +03:00
Andrew Kumanyaev
4cc27fd9e1 Update database.yml.postgresql 2013-03-24 14:10:32 +04:00
fbehrens
b614e3b5cb Update config/database.yml.postgresql
This was necessary following the installation guide for ubuntu 10.4 with postgres
2013-01-23 15:32:31 +01:00
Dmitriy Zaporozhets
9ada678819 Split commit_id and noteable_id for Note 2012-12-18 20:02:00 +02:00
Andrey Kumanyaev
3e1d52f4b7 add default postgres config 2012-10-10 03:58:34 +04:00