Skip to content

Add PostgreSQL 19 compatibility#306

Merged
anth0nyleung merged 1 commit intoaws:mainfrom
sibowu-aws:main
Apr 22, 2026
Merged

Add PostgreSQL 19 compatibility#306
anth0nyleung merged 1 commit intoaws:mainfrom
sibowu-aws:main

Conversation

@sibowu-aws
Copy link
Copy Markdown
Contributor

@sibowu-aws sibowu-aws commented Apr 21, 2026

Issue #, if available:
#305

Description of changes:

Add PostgreSQL 19 compatibility

  • Add PG19 branch for FUNCNAME_GET_CANDIDATES macro to pass the new
    fgc_flags parameter added to FuncnameGetCandidates()

https://github.com/postgres/postgres/blob/master/src/include/catalog/namespace.h#L124

when we fixed above, the second complie with below errors

implicit declaration of function 'get_database_name', 'WAIT_EVENT_MESSAGE_QUEUE_RECEIVE' undeclared
  • Add missing includes for parser/parse_node.h and utils/tuplestore.h

Also

PG19 changed the "function not found" error from HINT to DETAIL, which made the pg_tle_versions test output differ across versions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sibowu-aws sibowu-aws force-pushed the main branch 5 times, most recently from 2b3037d to ae7d54f Compare April 22, 2026 02:02
@anth0nyleung anth0nyleung merged commit 81eec97 into aws:main Apr 22, 2026
8 checks passed
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.

2 participants