diff options
author | Stan Hu <stanhu@gmail.com> | 2017-07-10 20:35:20 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-07-10 20:38:26 -0700 |
commit | f92a12c265608e4907e3cfde2ba878b59668dc19 (patch) | |
tree | c008fb1647fbeb75d38c3ec92c8f195cabd9e41d /config/database.yml.postgresql | |
parent | 4daa6da5407d235cbe4f7a787eaa29304446a870 (diff) | |
download | gitlab-ce-f92a12c265608e4907e3cfde2ba878b59668dc19.tar.gz |
Disabled prepared statements in testsh-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.
Diffstat (limited to 'config/database.yml.postgresql')
-rw-r--r-- | config/database.yml.postgresql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/database.yml.postgresql b/config/database.yml.postgresql index c517a4c0cb8..4b30982fe82 100644 --- a/config/database.yml.postgresql +++ b/config/database.yml.postgresql @@ -46,3 +46,4 @@ test: &test username: postgres password: # host: localhost + prepared_statements: false |