Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PostgreSQL support #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

VilainMamuth
Copy link

Initial support for PostgreSQL i made at work to test your tool

/**
* HostMapper class implementation for MariaDB
*/
class HostMapper implements HostMapperInterface
Copy link
Contributor

Choose a reason for hiding this comment

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

could it not extend the MySQL one if there is no changes to the implementation ?

Copy link
Author

Choose a reason for hiding this comment

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

Implementation is slightly different, I had to remove all backticks from sql queries to make it work
sure there's a lot of duplicate code :(

Copy link
Contributor

Choose a reason for hiding this comment

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

maybe all implementations could benefit from a function to quote column names @liuch ?

@@ -22,7 +22,8 @@
"league/flysystem-aws-s3-v3": "^2.5 || ^3.25.1"
},
"suggest": {
"ext-imap": "Needed to process incoming DMARC reports stored in a mailbox"
"ext-imap": "Needed to process incoming DMARC reports stored in a mailbox",
"ext-pdo_pgsql": "Needed to use Postgresql"
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we not move ext-pdo_mysql here too ?

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