Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Make "directory" work with extension control path #11

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

theory
Copy link
Owner

@theory theory commented Apr 28, 2025

Previously extensions installed on a custom path that is available via extension_control_path GUC that set the "directory" field on .control file was not being able to CREATE. This was happening because on get_extension_script_directory was hard coded to search for the script files only on the share system dir.

This commit fix this issue by using the control->control_dir as a share dir to return the path of the extension script files.

@theory theory self-assigned this Apr 28, 2025
Previously extensions installed on a custom path that is available via
extension_control_path GUC that set the "directory" field on .control
file was not being able to CREATE. This was happening because on
get_extension_script_directory was hard coded to search for the script
files only on the share system dir.

This commit fix this issue by using the control->control_dir as a share
dir to return the path of the extension script files.
@theory theory force-pushed the extension-search-directory branch from 445dba9 to f864772 Compare April 29, 2025 15:09
@theory
Copy link
Owner Author

theory commented May 2, 2025

Committed in 81eaaa2.

@theory theory closed this May 2, 2025
@theory theory deleted the extension-search-directory branch May 2, 2025 16:46
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