Skip to content

ext/pgsql: add pg_jit server info. #14566

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

devnexen
Copy link
Member

since PostgreSQL 11, LLVM JIT feature had been brought thus reporting the settings to the client connection.

since PostgreSQL 11, LLVM JIT feature had been brought thus reporting
the settings to the client connection.
@devnexen devnexen marked this pull request as ready for review June 13, 2024 19:51
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSTM

@Girgias
Copy link
Member

Girgias commented Jun 14, 2024

Don't forget to add an UPGRADING entry about the new function :)

@devnexen devnexen closed this in 2bb8fbd Jun 14, 2024
array_init(return_value);
res = PQexec(pgsql, "SHOW jit_provider");
if (PQresultStatus(res) != PGRES_TUPLES_OK) {
add_assoc_null(return_value, "jit_provider");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Spacing looks off 😉

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true :)

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

Successfully merging this pull request may close these issues.

3 participants