Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix build due to new checks in PostgreSQL 16#25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kovdb75 merged 1 commit intomasterfromPGPRO-7397
Nov 18, 2022
Merged

Conversation

MarinaPolyakova
Copy link

Due to the commit c8b2ef05f481ef06326d7b9f3eb14b303f215c7e in PostgreSQL 16 the macro PG_DETOAST_DATUM returns a pointer to a varlena structure and the input to the function DatumGetPointer must be of type Datum. So

  • Use a simple cast instead of the function DatumGetPointer.
  • In the macro VOPS_TEXT_TILE use the function pg_detoast_datum directly instead of the macro DatumGetTextP. As a result, call the function DatumGetPointer in the macro VOPS_GET_TILE because here the val type is usually Datum.

Due to the commit c8b2ef05f481ef06326d7b9f3eb14b303f215c7e in PostgreSQL 16 themacro PG_DETOAST_DATUM returns a pointer to a varlena structure and the input tothe function DatumGetPointer must be of type Datum. So- Use a simple cast instead of the function DatumGetPointer.- In the macro VOPS_TEXT_TILE use the function pg_detoast_datum directly instead  of the macro DatumGetTextP. As a result, call the function DatumGetPointer in  the macro VOPS_GET_TILE because here the val type is usually Datum.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kovdb75kovdb75Awaiting requested review from kovdb75

Assignees

@kovdb75kovdb75

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@MarinaPolyakova@kovdb75

[8]ページ先頭

©2009-2025 Movatter.jp