# \#postgres

**URL:** https://discuss.circleci.com/tag/postgres/226.md

[Latest](https://discuss.circleci.com/latest.md) · [Categories](https://discuss.circleci.com/categories.md) · [Tags](https://discuss.circleci.com/tags.md)

---

## [ActiveRecord error when running db:schema:load - "NoMethodError: undefined method 'uuid'"](https://discuss.circleci.com/t/activerecord-error-when-running-dbload-nomethoderror-undefined-method-uuid/45241)

<div class="topic-metadata">

**Author:** [@ambreenhasan](https://discuss.circleci.com/u/ambreenhasan)\
**Replies:** 0\
**Last updated:** [August 30, 2022, 6:18pm UTC](https://discuss.circleci.com/t/activerecord-error-when-running-dbload-nomethoderror-undefined-method-uuid/45241 "2022-08-30T18:18:20Z")

</div>

I’m running into an issue when running bundle exec rake db:schema:load when setting up the test database before tests can be ran: “NoMethodError: undefined method \`uuid’ for ActiveRecord” This happens when a table that…

---

## [Postgres failing with upgrading from 11.6 to 11.14](https://discuss.circleci.com/t/postgres-failing-with-upgrading-from-11-6-to-11-14/42932)

<div class="topic-metadata">

**Author:** [@tonydehnke](https://discuss.circleci.com/u/tonydehnke)\
**Replies:** 4\
**Last updated:** [February 18, 2022, 8:15pm UTC](https://discuss.circleci.com/t/postgres-failing-with-upgrading-from-11-6-to-11-14/42932 "2022-02-18T20:15:23Z")

</div>

Hi, upgrading from Ruby 2.6.6 to 2.6.9, that seems to be working, but now when updating from postgres 11.6-alpine to postgres 11.14 things get stuck (I’ve also tried 11.13 from cimg). It look like the Postgres server ge…

---

## [Rails Postgres - db:test:prepare - could not open extension control file pg\_stat\_statements](https://discuss.circleci.com/t/rails-postgres-dbprepare-could-not-open-extension-control-file-pg-stat-statements/41668)

<div class="topic-metadata">

**Author:** [@Cmarl](https://discuss.circleci.com/u/Cmarl)\
**Replies:** 2\
**Last updated:** [November 25, 2021, 12:22am UTC](https://discuss.circleci.com/t/rails-postgres-dbprepare-could-not-open-extension-control-file-pg-stat-statements/41668 "2021-11-25T00:22:21Z")

</div>

using image: cimg/postgres:12.7 and installing client/contrib via: - run: name: Install Postgresql Client command: sudo apt install postgresql-client postgresql-contrib Locally (and in other …

---

## [Next-Gen PostgreSQL Convenience Image Now GA/Stable](https://discuss.circleci.com/t/next-gen-postgresql-convenience-image-now-ga-stable/41595)

<div class="topic-metadata">

**Author:** [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Replies:** 0\
**Last updated:** [October 21, 2021, 1:04am UTC](https://discuss.circleci.com/t/next-gen-postgresql-convenience-image-now-ga-stable/41595 "2021-10-21T01:04:37Z")

</div>

The next-gen PostgreSQL Convenience Image has now reached GA and is considered stable. The following initial tags are available: 9.6.22 9.6.23 (9.6) 10.17 10.18 11.12 11.13 12.7 12.8 13.3 13.4 14.0 There is also a Pos…

---

## [Postgres commands hang in Ubuntu machine](https://discuss.circleci.com/t/postgres-commands-hang-in-ubuntu-machine/41514)

<div class="topic-metadata">

**Author:** [@cali](https://discuss.circleci.com/u/cali)\
**Replies:** 5\
**Last updated:** [October 13, 2021, 6:30am UTC](https://discuss.circleci.com/t/postgres-commands-hang-in-ubuntu-machine/41514 "2021-10-13T06:30:42Z")

</div>

I’m creating a CircleCI config file with the following excerpt: executors: ubuntu: machine: image: ubuntu-2004:202107-02 jobs: build: executor: ubuntu environment: …

---

## [PostgreSQL Image Password Not Specified Issue](https://discuss.circleci.com/t/postgresql-image-password-not-specified-issue/34555)

<div class="topic-metadata">

**Author:** [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Replies:** 4\
**Last updated:** [July 14, 2020, 3:05pm UTC](https://discuss.circleci.com/t/postgresql-image-password-not-specified-issue/34555 "2020-07-14T15:05:16Z")

</div>

Some people have recently come across an error with the circleci/postgres image that looks something like this: Error: Database is uninitialized and superuser password is not specified. You must specify POSTGRES\_…

---

## [Unable to connect to local postgres through Docker container](https://discuss.circleci.com/t/unable-to-connect-to-local-postgres-through-docker-container/32804)

<div class="topic-metadata">

**Author:** [@Jestfer](https://discuss.circleci.com/u/Jestfer)\
**Replies:** 3\
**Last updated:** [October 11, 2019, 2:47am UTC](https://discuss.circleci.com/t/unable-to-connect-to-local-postgres-through-docker-container/32804 "2019-10-11T02:47:59Z")

</div>

Hi everyone, I have tried for hours to connect to a locally configured DB in Postgres without any success. I tried whitelisting the docker IP (got it connecting through SSH to the docker container) in the Postgres conf…

---

## [Convenience Images Update: Removing Hardcoded Postgres User](https://discuss.circleci.com/t/convenience-images-update-removing-hardcoded-postgres-user/25054)

<div class="topic-metadata">

**Author:** [@rose](https://discuss.circleci.com/u/rose)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 8:53pm UTC](https://discuss.circleci.com/t/convenience-images-update-removing-hardcoded-postgres-user/25054 "2018-09-11T20:53:24Z")

</div>

To accommodate upstream changes to the Docker Library Postgres images that we extend in our circleci/postgres Docker Hub repository, we are removing hardcoded references to a POSTGRES\_USER in the Dockerfiles for our Post…
