Skip to content

Migrate snprc_scheduler to PostgreSQL#947

Merged
labkey-adam merged 8 commits into
release26.3-SNAPSHOTfrom
26.3_fb_snprc_scheduler
Jun 14, 2026
Merged

Migrate snprc_scheduler to PostgreSQL#947
labkey-adam merged 8 commits into
release26.3-SNAPSHOTfrom
26.3_fb_snprc_scheduler

Conversation

@labkey-adam

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

Copy link
Copy Markdown
Contributor

Rationale

We want the snprc_scheduler module to support PostgreSQL. Start with a PostgreSQL-compatible script.

Related Pull Requests

@labkey-martyp labkey-martyp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great thanks Adam. I did some manual testing as well to ensure the resources and scripts were deploying. More testing will happen in later PRs.

CONSTRAINT PK_StudyDayNotes PRIMARY KEY (ObjectId)
);

-- Using NULLS NOT DISTINCT (PostgreSQL 15+) to match SQL Server behavior for unique constraints with NULLs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be fine. I don't see any reason they would migrate to anything below pg 15. @labkey-mohara we'll have to make sure this is conveyed to them.

@labkey-adam labkey-adam merged commit ddcbb42 into release26.3-SNAPSHOT Jun 14, 2026
8 checks passed
@labkey-adam labkey-adam deleted the 26.3_fb_snprc_scheduler branch June 14, 2026 15:18
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