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

Add feature to install q3c extension in RDS PostgreSQL via pg_tle #182

Open
amuthiar opened this issue Mar 8, 2023 · 2 comments
Open

Add feature to install q3c extension in RDS PostgreSQL via pg_tle #182

amuthiar opened this issue Mar 8, 2023 · 2 comments
Labels
enhancement New feature or request general General question or request for help

Comments

@amuthiar
Copy link

amuthiar commented Mar 8, 2023

Describe the problem

  • What are you trying to solve?
    I'm trying to install the q3c exntesion in RDS Aurora PostgreSQL using pg_tle, but it gives me the following error.

test => CREATE EXTENSION q3c;
ERROR: permission denied for language c

Describe the proposal

  • What is the feature you are proposing?
    Add feature to support language c to install q3c extension.

  • How would it solve the problem?
    It helps the astronomical community where q3c extension is being mainly used for Spatial Index queries.

Describe alternatives

  • How would you solve the problem today if the feature is not built?
    PostGIS is the alternative in RDS for q3c.

  • What other alternatives are there?
    PostGIS is the alternative in RDS for q3c.

@amuthiar amuthiar added the enhancement New feature or request label Mar 8, 2023
@amuthiar
Copy link
Author

amuthiar commented Mar 9, 2023

The above error "ERROR: permission denied for language c" has occurred after successfully completing the step in the attached file q3c_pg_tle.txt

@jkatz
Copy link
Contributor

jkatz commented Mar 9, 2023

@amuthiar Thanks for your interest in pg_tle!

q3c will not work with pg_tle as written as there are functions that are defined in C. These functions would need to be ported to another procedural language (e.g. JavaScript). I took a quick look at the extension and it does seem like this would be doable based on what's written with the exception of the selectivity functions.

In summary, q3c could ultimately be used with pg_tle if the C functions are rewritten.

@jkatz jkatz added the general General question or request for help label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request general General question or request for help
Projects
None yet
Development

No branches or pull requests

2 participants