Bug 509267

Summary: Add PostgreSQL support as external database backend in digiKam
Product: [Applications] digikam Reporter: Taavi <taavi.pipar>
Component: Database-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: metzpinguin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Taavi 2025-09-08 09:08:12 UTC
Currently digiKam only supports MySQL/MariaDB as an external SQL server; adding PostgreSQL support would provide stability, flexibility, and wider adoption in professional environments.


SUMMARY
Add support for PostgreSQL as a database backend in digiKam (currently only MySQL/MariaDB supported).

STEPS TO REPRODUCE

Open digiKam.

Go to Setup → Database.

Only SQLite or MySQL/MariaDB are available as external SQL server options.

OBSERVED RESULT
Users can only host digiKam’s database on MySQL/MariaDB when an external SQL server is needed. PostgreSQL is not supported.

EXPECTED RESULT
digiKam should support PostgreSQL in addition to MySQL/MariaDB as an external database backend. This would give users more flexibility in choosing their preferred database system and allow integration with existing PostgreSQL infrastructures.

SOFTWARE/OS VERSIONS
Windows: Any supported
macOS: Any supported
Linux/KDE Plasma: Any supported
KDE Plasma Version: n/a
KDE Frameworks Version: n/a
Qt Version: n/a

ADDITIONAL INFORMATION
Reasons for PostgreSQL support:

Stability & Performance: PostgreSQL is known for robustness and high concurrency handling, which benefits large photo libraries.

Advanced Features: PostgreSQL offers advanced indexing, full-text search, JSON support, and extensions that could improve digiKam performance and search features.

Compatibility: Many enterprise and academic environments standardize on PostgreSQL. Supporting it lowers the barrier for adoption of digiKam in professional workflows.

Open Source Alignment: PostgreSQL’s strong open-source ecosystem aligns well with KDE’s philosophy.

Similar KDE applications (e.g., Akonadi, Kexi) already support PostgreSQL, making this a logical enhancement for digiKam’s database module.
Comment 1 Maik Qualmann 2025-09-08 09:14:09 UTC

*** This bug has been marked as a duplicate of bug 127321 ***