-
Notifications
You must be signed in to change notification settings - Fork 779
Add support of DEPENDS/NO DEPENDS ON EXTENSION for ALTER FUNCTION.#6385 #9170
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
base: master
Are you sure you want to change the base?
Conversation
6be021c
to
8ee71ff
Compare
will change to an input text field. | ||
* Use the drop-down listbox next to *Language* to select the implementation | ||
language. The default is *sql*. | ||
* Use the drop-down listbox next to *Depends on extension* to select the extension that this function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the text same as control label i.e "Depends on extensions"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SET {{ conn|qtIdent(v.name) }}={% if v.name in exclude_quoting %}{{ v.value }}{% else %}{{ v.value|qtLiteral(conn) }}{% endif %}{% endfor %} | ||
{% endif %} | ||
|
||
{% if data.is_pure_sql %}{{ data.prosrc }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is_pure_sql is added in 13_plus?
SET {{ conn|qtIdent(v.name) }}={% if v.name in exclude_quoting %}{{ v.value }}{% else %}{{ v.value|qtLiteral(conn) }}{% endif %}{% endfor -%} | ||
{% endif %} | ||
|
||
{% if data.is_pure_sql %}{{ data.prosrc }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is_pure_sql is added in 13_plus?
}, | ||
{ | ||
},{ | ||
id: 'dependsonextensions', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add min_version=130000 as this is available from PGv13
ALTER FUNCTION {{ conn|qtIdent(data.pronamespace, data.name) }}({{data.func_args_without}}) | ||
OWNER TO {{ conn|qtIdent(data.funcowner) }}; | ||
{% endif -%} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the default folder changes from pg and ppas folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add Python, ReSQL and JS test cases for the new control.
No description provided.