Re: Add pg_get_injection_points() for information of injection points - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Add pg_get_injection_points() for information of injection points
Date
Msg-id CAJ7c6TOWq6WjAWZ9aJvwt93AqbZsnPt-HgZ3cQgUKMgr_iRb0g@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_get_injection_points() for information of injection points  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add pg_get_injection_points() for information of injection points
List pgsql-hackers
Hi,

> > Also, should we define pg_get_injection_points in the injection_points
> > extension maybe?
>
> As this is global for all libraries, that's not something I would add
> there.

If I didn't miss anything, all SQL functions dealing with injection
points are gathered in injection_points extension so IMO
pg_get_injection_points() belongs there. It would be awkward to have
it in the core considering the fact that injection points presumably
should be disabled in release builds. Users will see a function in \df
that does nothing.

-- 
Best regards,
Aleksander Alekseev



pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: New committer: Jacob Champion
Next
From: Tender Wang
Date:
Subject: Typos in the comment for the estimate_multivariate_ndistinct()