Skip to content

Slim down fb_dropifexists() stored function - #8038

Merged
labkey-adam merged 3 commits into
developfrom
fb_slim_down_dropifexists
Sep 11, 2026
Merged

Slim down fb_dropifexists() stored function#8038
labkey-adam merged 3 commits into
developfrom
fb_slim_down_dropifexists

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Rationale

Standard PostgreSQL statements support DROP IF EXISTS variants for all objects that we care about. We've deprecated our custom core.fn_dropifexists stored function since it's no longer needed. For now, remove the ability to drop AGGREGATE, DEFAULT, FUNCTION, PROCEDURE, and SCHEMA, since these are rarely used. We're leaving the function in place (supporting only five more common object types) for now to ease merges forward from older branches that might use it.

https://github.com/LabKey/internal-issues/issues/1502

Related Pull Requests

@labkey-adam
labkey-adam merged commit 661e2b3 into develop Sep 11, 2026
7 checks passed
@labkey-adam
labkey-adam deleted the fb_slim_down_dropifexists branch September 11, 2026 13:44
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