Skip to content

Fix error with PG17 palloc0fast compilation - #2118

Closed
uhayat wants to merge 1 commit into
apache:masterfrom
uhayat:master
Closed

uhayat wants to merge 1 commit into
apache:masterfrom
uhayat:master

Conversation

@uhayat

@uhayat uhayat commented Sep 25, 2024

Copy link
Copy Markdown
Contributor

In PG17 palloc0fast is removed and palloc0 is instead

@shinyaaa

Copy link
Copy Markdown
Contributor

I think that change is correct.
However, in this project, the condition by PG_VERSION_NUM may be unnecessary, as the branches are separated by PG version.
(I don't know how to do this, as the PG17 branch has not yet been created.)

@jrgemignani

Copy link
Copy Markdown
Contributor

@uhayat I am okay with merging a change where palloc0fast is replaced by palloc0. But, we don't use version flags as stated by @shinyaaa above, so I won't approve that.

In PG17 palloc0fast is removed and palloc0 is instead
@uhayat

uhayat commented Sep 27, 2024

Copy link
Copy Markdown
Contributor Author

@jrgemignani understood. I updated the commit and removed the version check.

@uhayat

uhayat commented Oct 27, 2024

Copy link
Copy Markdown
Contributor Author

Anybody available for review ?

@jrgemignani

Copy link
Copy Markdown
Contributor

@uhayat See #2111 (comment)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants