Skip to content

Handle PostgreSQL schema creation without workaround first - #2

Merged
adelinn merged 2 commits into
mainfrom
adelinn-patch-1
Sep 1, 2026
Merged

adelinn merged 2 commits into
mainfrom
adelinn-patch-1

Conversation

@adelinn

@adelinn adelinn commented Sep 1, 2026

Copy link
Copy Markdown

Handle PostgreSQL schema creation without workaround first and if it fails use previous method.

Implement transaction handling for schema creation with a fallback mechanism.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a direct schema-creation attempt before using temporary role grants.

Changes:

  • Attempts schema creation without the role workaround.
  • Falls back to the existing role-grant flow on failure.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread postgresql/resource_postgresql_schema.go Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@adelinn
adelinn merged commit 8672210 into main Sep 1, 2026
1 of 6 checks passed
@adelinn
adelinn deleted the adelinn-patch-1 branch September 1, 2026 14:58
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