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

[QUESTION] PostgreSQL #876

Closed
ghost opened this issue Feb 23, 2019 · 4 comments
Closed

[QUESTION] PostgreSQL #876

ghost opened this issue Feb 23, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 23, 2019

Hi @panique,

I do understand that this project has reached end of life. Just would like to know can this project handle PostgreSQL and if yes how would I go by using it?

@ghost ghost closed this as completed Feb 24, 2019
@panique
Copy link
Owner

panique commented Feb 25, 2019

I think it should be actually quite easy, can you please change the config block in application/config/config.development.php from mysql to pgsql and see if it works ? if not, then you might change the getConnection syntax inside application/core/DatabaseFactory.php from mysql to postgres, this PHP doc page shows the syntax i think: http://php.net/manual/de/ref.pdo-pgsql.connection.php

I think it can be done in 10minutes by just chaning some lines :)

@ghost
Copy link
Author

ghost commented Feb 25, 2019

Thanks @panique I will give this a try.

@ghost
Copy link
Author

ghost commented Feb 25, 2019

Hi @panique,

Overlooking the PHP doc page provided it seems this is possible by changing mysql to pgsql within application/config/config.development.php.

I thought it would require a major change judging by this issue #584

@panique
Copy link
Owner

panique commented Mar 1, 2019

;)

This issue was closed.
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

No branches or pull requests

1 participant