Comment 7 for bug 61850

Revision history for this message
Martin Ellis (martin-ellis) wrote : Re: [Bug 61850] Re: Kexi cannot access PostgreSQL databases anymore

On Saturday 20 January 2007 19:51, Nicola Larosa wrote:
> > Kexi requires the PostgreSQL development files at build time.
> > Packages in main cannot "Build-Depend" on packages in universe.
>
> So, when Kexi moved from Breezy universe to the Dapper main repo
> (presumably by being included in KOffice), why was the kexi-postgresql-
> driver package left behind?

Two reasons:
1) By moving from universe to main, the required build dependencies for
PostgreSQL support became unavailable, and hence Kexi builds without support
for PostgreSQL.

2) The kexi-postgresql-driver package was removed in the upstream Debian
package. The new Debian maintainer decided it would be better to include all
the drivers in the main Kexi package, because the KOffice source package was
already producing approximately 30 binary packages.

He included the PostgreSQL driver in the kexi package, and added
the "Replaces: kexi-postgresql-driver" field to the package, because in
Debian, the kexi package *did* replace the kexi-postgresql-driver package.

Debian doesn't have the main/universe distinction, so doesn't have this
problem.

The Replaces: field still makes some sense in Ubuntu. If you install Kexi 1.5
or Kexi 1.6 packages from Ubuntu, then the last released
kexi-postgresql-driver package is no use to you - it only works with Kexi 0.9
in Breezy.

> > Later versions of Kexi replace the kexi-postgresql-driver package,
> > because that package is no longer useful with current versions of Kexi
>
> What do you mean, "not useful"? The Dapper, Edgy and Feisty packages all
> currently still miss the PostgreSQL drivers:

"Not useful": I mean that, according to:
http://packages.ubuntu.com/kexi-postgresql-driver
the last version of the kexi-postgresql-driver is for Kexi 0.9.

That package will not work with the version of Kexi included with Dapper, Edgy
or Feisty. Those versions of Kexi should refuse to try to load drivers from
Kexi 0.9, because if they did, it'd only cause crashes due to binary
incompatibility.

> the problem still stands.

I was defending the comments I wrote on the Kexi wiki about the Ubuntu
packages, because Donatas claimed that they were inaccurate.
I've spoken to both the Debian packager and the Kubuntu packager for Kexi, and
I'm pretty sure they are accurate.

Yes, I'm aware the problem still stands.
That's why the comments on the wiki are there.

Make sense?