WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Rearranging DB extensions MySQL and PostgreSQL?  (Read 2096 times)

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Rearranging DB extensions MySQL and PostgreSQL?
« on: September 20, 2010, 06:20:54 PM »
Heya Bela and Arslan and Team Tinycore,

I've noticed a while ago, that both "major" database extensions mysql and postgresql each contain all files in one extension although that is really a little over the top for most situations. E.g. postfix could live with only libmysqlclient.so and libpq.so (and without the other client/server bloat), because the feature is not needed atm.

I'd suggest to create at least 3 extensions like in other distros (old school debian):

1. libmysqlclient, mysql-client, mysql-server, (+ -dev)
2. libpq, postgresql-client, postgresql-server (+ -dev)

That way the library just takes about 300-400 K packed and if you really need the db, then one will use mysql-server or postgresql-server ;)

How do you think about it?
Best regards,
Robert
« Last Edit: September 20, 2010, 06:42:10 PM by gutmensch »
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Rearranging DB extensions MySQL and PostgreSQL?
« Reply #1 on: September 21, 2010, 01:37:50 AM »
Robert,

thanks for the suggestion. I will consider it during next update.

Regards... Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Rearranging DB extensions MySQL and PostgreSQL?
« Reply #2 on: September 21, 2010, 09:39:09 AM »
Yea good idea to split client, server and the libraries but i have no idea about which file belongs to server which one belongs to client, all i can do is to reference debian postgresql

Offline gutmensch

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 605
  • I can make it disappear, have no fear!
    • remembrance blog
Re: Rearranging DB extensions MySQL and PostgreSQL?
« Reply #3 on: September 21, 2010, 09:52:34 AM »
@Arslan: That's what I do frequently with debian package file lists ;D

Surely there would be another way to crawl through all the documentation but no one wants/needs that I guess ;-)
If I seem unduly clear to you, you must have misunderstood what I said. (Alan Greenspan)