Skip to content

Conversation

@davisjc
Copy link
Contributor

@davisjc davisjc commented Mar 8, 2025

This patch adds a new and optional configuration option, database_type, to the set of options available in the scheduler's config. Valid values are "mysql" and "postgresql", and if the option is omitted, "mysql" as treated as the default.

Note that this patch does not yet introduce PostgreSQL support, but provides the initial restructuring of the scheduler.

Abstract usage of an SQL connection into a new module, sql_connection, and a new enum representing a connection, SQLConnection, which represents either a MySQL or a PostgreSQL connection. Also replace all uses of mysql::Conn with the new SQLConnection enum, which acts as a thin wrapper.

This patch adds a new and optional configuration option, database_type,
to the set of options available in the scheduler's config.  Valid values
are "mysql" and "postgresql", and if the option is omitted, "mysql" as
treated as the default.

Note that this patch does not yet introduce PostgreSQL support, but
provides the initial restructuring of the scheduler.

Abstract usage of an SQL connection into a new module, sql_connection,
and a new enum representing a connection, SQLConnection, which
represents either a MySQL or a PostgreSQL connection.  Also replace all
uses of mysql::Conn with the new SQLConnection enum, which acts as a
thin wrapper.
@CLAassistant
Copy link

CLAassistant commented Mar 8, 2025

CLA assistant check
All committers have signed the CLA.

@davisjc davisjc requested a review from altmannmarcelo March 8, 2025 00:18
@davisjc davisjc closed this Mar 13, 2025
@davisjc davisjc deleted the jcd-postgresql-support-4 branch March 13, 2025 22:04
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.

3 participants