Skip to content

Postgres 17 #15

@OverHash

Description

@OverHash

Postgres 17 is now released. I'm not sure what the exact steps required are but it looks like a bump to the pg_version table and a new release cut at the minimum?

I tried to use the existing v16 extension in a postgres:17 container and didn't have success:

FROM postgres:17

# Copy the TypeID extension
# See https://github.com/blitss/typeid-postgres/pkgs/container/typeid-pg/240468201?tag=v0.1.0-docker
COPY --from=ghcr.io/blitss/typeid-pg@sha256:a758acf9d49183206bf513502db4cfe86996986841c012495989ac6d324fcae4 \
     /usr/lib/postgresql/16/lib/typeid.so /usr/lib/postgresql/17/lib/typeid.so
COPY --from=ghcr.io/blitss/typeid-pg@sha256:a758acf9d49183206bf513502db4cfe86996986841c012495989ac6d324fcae4 \
     /usr/share/postgresql/16/extension/typeid* /usr/share/postgresql/17/extension/
❯ docker exec -it postgres psql -U postgres -d database -c "CREATE EXTENSION IF NOT EXISTS typeid;"
ERROR:  incompatible library "/usr/lib/postgresql/17/lib/typeid.so": version mismatch
DETAIL:  Server is version 17, library is version 16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions