Expand PostgreSQL provider resources and workflow tooling#47
Open
refucktor wants to merge 6 commits into
Open
Conversation
…abase/schema management - Updated `PostgresqlClient` interface to include methods for connection pooling and acquiring connections. - Implemented connection pooling in `pgClientImpl` using `pgxpool`. - Added new methods in `DatabaseRepo` for creating, updating, and dropping databases, along with handling comments and connection limits. - Introduced `SchemaRepo` for managing schemas, including creation, existence checks, updates, and listing schemas. - Added integration tests for `DatabaseRepo` and `SchemaRepo` to ensure functionality. - Removed redundant connection close calls in cleanup functions of various tests. Signed-off-by: Hector Valcarcel <hector.valcarcel@proton.me>
- Implemented `postgresql_schema` resource for managing PostgreSQL schemas with attributes for owner, if_not_exists, drop_cascade, and policy. - Created `postgresql_schemas` data source to list schemas with filtering options. - Updated provider to include new schema resource and data source. - Added tests for schema resource and data source to ensure functionality. - Enhanced documentation with quick start guide and best practices for using the provider. - Updated PostgreSQL version in test container to 17-alpine for compatibility. Signed-off-by: Hector Valcarcel <hector.valcarcel@proton.me>
add an architecture reference and move root guidance into canonical files. refresh the README and contributing docs so the root documentation matches the current provider state.
Signed-off-by: Hector Valcarcel <hector.valcarcel@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary