Skip to content

chore(deps): update postgres docker tag to v18#2758

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/postgres-18.x
Open

chore(deps): update postgres docker tag to v18#2758
renovate[bot] wants to merge 1 commit intomainfrom
renovate/postgres-18.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Nov 25, 2025

This PR contains the following updates:

Package Type Update Change
postgres service major 12.2218.3
postgres major 1618

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/postgres-18.x branch 4 times, most recently from 6c3e425 to 3659855 Compare December 1, 2025 16:16
@renovate renovate bot force-pushed the renovate/postgres-18.x branch 13 times, most recently from fa45a23 to d337766 Compare December 12, 2025 21:22
@renovate renovate bot force-pushed the renovate/postgres-18.x branch 13 times, most recently from b9c4601 to d50dbfd Compare December 18, 2025 11:55
@renovate renovate bot force-pushed the renovate/postgres-18.x branch 21 times, most recently from cf89dc8 to c2b936c Compare January 15, 2026 12:41
@renovate renovate bot force-pushed the renovate/postgres-18.x branch 3 times, most recently from 6b66d96 to 7844245 Compare January 16, 2026 17:14
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 22, 2026

OpenAPI Changes

Show/hide No detectable change.

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

db:
# Docker Hub image
image: postgres:12.22
image: postgres:18.2
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading the PostgreSQL version will break local development for users with existing data volumes, as the new version cannot read the old data directory format.
Severity: HIGH

Suggested Fix

Provide a data migration path for developers. This could involve documenting the need to manually delete the pgdata volume (docker volume rm <volume_name>) for a fresh start. Alternatively, provide scripts using pg_dump and pg_restore to migrate data from the old version to the new one. The PR should include this guidance in the description or a README file.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: .github/workflows/ci.yml#L11

Potential issue: The pull request upgrades the PostgreSQL Docker image from version 16
to 18. However, the local development environment uses a persistent named volume,
`pgdata`, for the database. When a developer who has previously run the application with
PostgreSQL 16 pulls this change and runs `docker-compose up`, the PostgreSQL 18
container will fail to start. This is because it will detect an incompatible data
directory format from the older version, resulting in a fatal error and breaking the
local development setup. The change does not include any data migration scripts or
documentation for developers to handle this upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants