Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Just curious, it appears that the PostgreSQL branch doesn't have any kind of upgrade functionality, it seems like it runs pretty well though, so are there any near-term plans to add full PostgreSQL support?
Offline
Hi,
At the moment not, unless someone will make it. The only way is just track what changes i make in default schema file.
Offline
I would be willing to help with the goal of merging the PostgreSQL changes into the master branch so its treated equally with MySQL.
It appears that the ezComponents framework that you use has support for abstracting out the schema to a XML file and handling all the upgrades itself, is there a reason you aren't using that functionality?
When I tried to research this framework it appears that the last release was way back in 2010, that concerns me quite a bit, is this framework essentially dead now?
Last edited by ipso (2015-06-16 22:36:05)
Offline
It's now called ZetaComponents https://github.com/zetacomponents
The reason this branch cannot be merged back to master is that update mechanism has to be different and post file descriptions are different structure.
Mysql version
https://github.com/LiveHelperChat/liveh … elchat.php
PostgreSQL version
https://github.com/LiveHelperChat/liveh … elchat.php
As for framework itself, I just basically just few main components like database, ORM and few others perhaps. As long it satisfies me I do not see a point to migrate to anywhere else
Offline
It's now called ZetaComponents https://github.com/zetacomponents
The reason this branch cannot be merged back to master is that update mechanism has to be different and post file descriptions are different structure.
Mysql version
https://github.com/LiveHelperChat/liveh … elchat.phpPostgreSQL version
https://github.com/LiveHelperChat/liveh … elchat.php
Sorry, I don't understand what you mean why they can't be merged together? I realize that without changes, they can't be merged together, but are you planning on keeping them separate forever?
I have converted many projects to support multiple databases and its usually not a difficult task, but if the code is kept in separate trees its always a nightmare to work with and the other databases are never kept in a working state long-term.
Offline
Well, if you manage after merging run it on both database you are free to create pull request, i'll be happy to accept it
Offline
Okay, so I'm still not sure why you aren't using the DatabaseSchema class in ezComponents to handle creating/upgrading the database schemas for you automatically?
Would it be possible to chat with you in real-time on IRC or Google Talk, we would like to help with the PostgreSQL support, but we want to do it in a way that is acceptable to you, so it would be nice to discuss some ideas before we do the work to implement them.
Offline
I'm always available on skype. But 99% i won't change the way current database schemas are defined. Just to many users are using the way it is defined now.
Offline
Could you private message me your Skype ID please?
Regarding the current schema implementation, if the ezComponents DatabaseSchema class works the way it should, in theory switching to it it would still be backwards compatible. Of course we don't want to break existing installs, but if we can simplify the database maintenance burden especially across multiple databases that seems like a good thing to do, doesn't it?
Offline
Pages: 1