Skip to content

PostgreSQL 17 not supported #2111

Open
Open

Description

@JamesInform

Hi all

I built age for PostgreSQL 17. Basically compiling worked without errors.

But when I try to create the extension I get the following error:

image

When will a PostgreSQL 17 compatible version of age be available?

Cheers,
James

Activity

  1. added
    bug
    on Sep 15, 2024
  2. added
    enhancement
    feature request
    and removed
    bug
    on Sep 16, 2024
  3. jrgemignani commented on Sep 16, 2024

    @jrgemignani
    Contributor

    @JamesInform Right now, PG 17 isn't in our roadmap. This could change in the future, but due to current resources, it is considered lower priority.

  4. uhayat commented on Sep 27, 2024

    @uhayat
    Contributor

    @JamesInform I created a PR (2118) to resolve this issue. Currently there is no separate branch for branch for PG17, so I added PG17 version number check.

    @jrgemignani do we have a plan when should be create a separate branch, or who could create separate branch, or should this PR merged to master as is?

  5. df7cb commented on Oct 28, 2024

    @df7cb
    Contributor

    It's not ready for PG17 yet. Running the regression tests against PG17:

    2024-10-28 09:43:48.644 UTC client backend[346252] pg_regress/expr ERROR:  labels() argument must be a vertex
    2024-10-28 09:43:48.644 UTC client backend[346252] pg_regress/expr STATEMENT:  SELECT * from cypher('list', $$RETURN labels("string")$$) as (Labels agtype);
    TRAP: failed Assert("HeapTupleIsValid(proctup)"), File: "src/backend/utils/ag_func.c", Line: 48, PID: 346252
    postgres: myon contrib_regression [local] SELECT(ExceptionalCondition+0x75) [0x555e07a0fe45]
    /usr/lib/postgresql/17/lib/age.so(+0x5be85) [0x7f0b17033e85]
    /usr/lib/postgresql/17/lib/age.so(+0x2a04b) [0x7f0b1700204b]
    postgres: myon contrib_regression [local] SELECT(range_table_entry_walker_impl+0x26) [0x555e077458b6]
    postgres: myon contrib_regression [local] SELECT(range_table_walker_impl+0x6a) [0x555e07745a2a]
    /usr/lib/postgresql/17/lib/age.so(+0x2ac0f) [0x7f0b17002c0f]
    postgres: myon contrib_regression [local] SELECT(parse_analyze_fixedparams+0xac) [0x555e075f4a2c]
    postgres: myon contrib_regression [local] SELECT(pg_analyze_and_rewrite_fixedparams+0x2a) [0x555e078b2b4a]
    postgres: myon contrib_regression [local] SELECT(+0x55b193) [0x555e078b3193]
    postgres: myon contrib_regression [local] SELECT(PostgresMain+0x161f) [0x555e078b4ccf]
    postgres: myon contrib_regression [local] SELECT(BackendMain+0x51) [0x555e078af321]
    postgres: myon contrib_regression [local] SELECT(postmaster_child_launch+0xc8) [0x555e07805bf8]
    postgres: myon contrib_regression [local] SELECT(+0x4b1d0a) [0x555e07809d0a]
    postgres: myon contrib_regression [local] SELECT(PostmasterMain+0xe8c) [0x555e0780bb9c]
    postgres: myon contrib_regression [local] SELECT(main+0x20a) [0x555e074d12aa]
    /lib/x86_64-linux-gnu/libc.so.6(+0x29d68) [0x7f0b22c33d68]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f0b22c33e25]
    postgres: myon contrib_regression [local] SELECT(_start+0x21) [0x555e074d1871]
    2024-10-28 09:43:50.074 UTC postmaster[346211] LOG:  server process (PID 346252) was terminated by signal 6: Aborted
    2024-10-28 09:43:50.074 UTC postmaster[346211] DETAIL:  Failed process was running: SELECT * FROM json('1');
    

    AGE is one of the last PostgreSQL packages in Debian not yet supporting PG17 yet, so getting this fixed would be appreciated. Thanks.

  6. jrgemignani commented on Oct 28, 2024

    @jrgemignani
    Contributor

    @uhayat

    This is the problem with attempting to add fixes to a version (PG16 in this case) to allow it to run on another version (PG17 in this case) without checking to see if it actually fixes the newer version. I mistakenly assumed that this was done.

  7. jrgemignani commented on Oct 28, 2024

    @jrgemignani
    Contributor

    @JamesInform @df7cb Currently, there isn't an eta for, nor a roadmap to, an Apache AGE version for PG17 or any continuing support. The core R&D team that was driving Apache AGE (paid to work on this project) was eliminated earlier this month.

    This means that future features, updates, bug fixes, etc. will be at a lot slower pace, if at all. Unfortunately, I cannot coerce or hold volunteers to any particular schedule.

  8. jrgemignani commented on Oct 28, 2024

    @jrgemignani
    Contributor

    I was thinking of closing this issue, but I will leave it open for comments or inquiries.

  9. df7cb commented on Oct 28, 2024

    @df7cb
    Contributor

    @jrgemignani thanks for the honest info.

  10. 38 remaining items

  11. GreenZeeGuy commented on Apr 14, 2025

    @GreenZeeGuy

    For anyone interested, I’ve packed RPM packages of Apache AGE for PostgreSQL 13–17 on EL-based systems, with support for both x86_64 and aarch64. Feel free to check them out!

    https://pigsty.io/ext/feat/age/

    OS Arch PG17 PG16 PG15 PG14 PG13
    el8 x86_64 apache-age_17 PIGSTY 1.5.0 apache-age_16 PIGSTY 1.5.0 apache-age_15 PIGSTY 1.5.0 apache-age_14 PIGSTY 1.5.0 apache-age_13 PIGSTY 1.5.0
    el8 aarch64 apache-age_17 PIGSTY 1.5.0 apache-age_16 PIGSTY 1.5.0 apache-age_15 PIGSTY 1.5.0 apache-age_14 PIGSTY 1.5.0 apache-age_13 PIGSTY 1.5.0
    el9 x86_64 apache-age_17 PIGSTY 1.5.0 apache-age_16 PIGSTY 1.5.0 apache-age_15 PIGSTY 1.5.0 apache-age_14 PIGSTY 1.5.0 apache-age_13 PIGSTY 1.5.0
    el9 aarch64 apache-age_17 PIGSTY 1.5.0 apache-age_16 PIGSTY 1.5.0 apache-age_15 PIGSTY 1.5.0 apache-age_14 PIGSTY 1.5.0 apache-age_13 PIGSTY 1.5.0
    d12 x86_64 postgresql-17-age PGDG 1.5.0rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0
    d12 aarch64 postgresql-17-age PGDG 1.5.0
    rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0
    u22 x86_64 postgresql-17-age PGDG 1.5.0rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0
    u22 aarch64 postgresql-17-age PGDG 1.5.0
    rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0
    u24 x86_64 postgresql-17-age PGDG 1.5.0rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0
    u24 aarch64 postgresql-17-age PGDG 1.5.0
    rc0 postgresql-16-age PGDG 1.5.0rc0 postgresql-15-age PGDG 1.5.0rc0 postgresql-14-age PGDG 1.5.0rc0 postgresql-13-age PGDG 1.5.0rc0

    Minor typo in the table :
    d12 x86_64 and d12 aarch64 need to be swapped

  12. dianaoa22 commented on Jun 7, 2025

    @dianaoa22

    Is there an updated timeline for when Apache AGE will officially support PostgreSQL 17 in the 1.6.0 release?

  13. jrgemignani commented on Jun 7, 2025

    @jrgemignani
    Contributor

    @dianaoa22 We've been working on PG17 the past few days. Unfortunately, there have been issues with the CI that need to be fixed first. I will respond here once we fix them and PG17 can start moving forward.

  14. jrgemignani commented on Jun 9, 2025

    @jrgemignani
    Contributor

    We were able to fix the CI issues with PG17. Now we need to apply this fix to the other branches. It looks like there were adjustments to privileges, on Github's side.

    For future reference see - https://github.com/orgs/community/discussions/156181

  15. brecke commented on Jul 17, 2025

    @brecke

    any news on this front? I see there's a branch (behind master) PG17 and a docker-container, but it would be great to have a proper official release soon, if possible. Is there an ETA for a new release supporting PG17?

  16. jrgemignani commented on Jul 17, 2025

    @jrgemignani
    Contributor

    @brecke I am working on it, just swamped with other tasks atm.

  17. thomastthai commented on Jul 30, 2025

    @thomastthai

    Which branch should I use if I want to run AGE with PostgreSQL 17.5? I saw the PG17 branch but wasn't sure. Master/main branch compiled and installed fine. I've not run tests on it yet.

  18. jrgemignani commented on Jul 30, 2025

    @jrgemignani
    Contributor

    @thomastthai PG 17 is on the PG17 branch and is current with the master. So, if you want to use PG17.5 that branch should work for you.

    Currently, I have started working on building the official release of 1.6.0 for PG17

  19. webcodes-cz commented on Sep 5, 2025

    @webcodes-cz

    @jrgemignani Hello, I would like to ask if it will be done any time soon. Thanks for your hard work.

  20. jrgemignani commented on Sep 8, 2025

    @jrgemignani
    Contributor

    @webcodes-cz Support is ready for PG17 1.6.0, it will be released after PG16 1.6.0 is released.

    The [DISCUSS] thread for PG16 1.6.0 was opened this past Thursday https://lists.apache.org/[email protected]

    Provided everything goes well with PG16's release, PG17 should start within 2 weeks.

  21. xeroxnir commented on Sep 30, 2025

    @xeroxnir

    Any chance https://github.com/apache/age-viewer/ is fixed? The explorer tool is not running (npm issues/old dependencies/etc).

  22. jrgemignani commented on Sep 30, 2025

    @jrgemignani
    Contributor

    @MuhammadTahaNaveed Is this something that you could answer?

  23. MuhammadTahaNaveed commented on Sep 30, 2025

    @MuhammadTahaNaveed
    Member

    Any chance https://github.com/apache/age-viewer/ is fixed? The explorer tool is not running (npm issues/old dependencies/etc).

    @xeroxnir @jrgemignani I will try to look into it. Since it hasn’t been maintained for a while and I haven’t worked on it before, it may take some time.

  24. jrgemignani commented on Oct 1, 2025

    @jrgemignani
    Contributor

    @xeroxnir Can you please create a new discussion/issue for this over on https://github.com/apache/age-viewer/ this space is specifically for AGE.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions