Skip to content
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

Use pg-gvm extension for C PostgreSQL functions #1453

Merged
merged 4 commits into from
Mar 18, 2021

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Mar 18, 2021

What:
The extension functions written in C are no longer created directly in
gvmd. Instead they will be handled by the extension "pg-gvm".

Why:
The extension functions should be independent of gvmd and not be
overwritten by gvmd.

How did you test it:
By installing the extension, starting gvmd and then checking if the
extensions functions return the expected values instead of NULL from
the dummy functions.

Checklist:

The extension functions written in C are no longer created directly in
gvmd. Instead they will be handled by the extension "pg-gvm".
This extension is now required as the C functions are no longer created
by gvmd.
@timopollmeier timopollmeier marked this pull request as ready for review March 18, 2021 10:54
@timopollmeier timopollmeier requested a review from a team as a code owner March 18, 2021 10:54
@timopollmeier timopollmeier marked this pull request as draft March 18, 2021 11:00
The new extension library is custom-made for GVM and has to be installed
separately from the PostgreSQL contrib extensions.
@timopollmeier timopollmeier marked this pull request as ready for review March 18, 2021 11:11
@bjoernricks bjoernricks merged commit 311a3a8 into greenbone:master Mar 18, 2021
@timopollmeier timopollmeier deleted the remove-c-sql-functions branch October 15, 2021 12:08
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