-
Notifications
You must be signed in to change notification settings - Fork 37
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
base: master
Are you sure you want to change the base?
Conversation
/** | ||
* HostMapper class implementation for MariaDB | ||
*/ | ||
class HostMapper implements HostMapperInterface |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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 :(
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 ?
Initial support for PostgreSQL i made at work to test your tool