[Pkg-postgresql-public] Re: [BUGS] Some patches to enhance the contrib build

Martin Pitt mpitt@debian.org
Mon, 1 Nov 2004 09:04:20 +0100


--OwLcNYc0lM97+oe1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Neil!

Neil Conway [2004-11-01 14:06 +1100]:
> BTW, the information in postgresql-7.4.6/debian/copyright is out of date
> (old download URL, old PostgreSQL copyright dates & the regex copyright
> should be updated per the license in src/backend/regex/COPYRIGHT).

Oh, thanks for that hint. Fixed in arch head.

> 20pg_dump_datestyle seems redundant (we already set DateStyle to ISO in
> pg_dump).
>=20
> > 25contrib-dbmirror:=20
> >  - additionally install some useful scripts and data files
>=20
> Makes sense to me, although I won't claim to be a dbmirror user. I'll
> apply this to HEAD unless anyone objects.

I do not use it myself, but adding a few scripts to the installation
does not break anything and it was found useful by an user.

> > 25contrib-enablexml:
> >  - enable xml module build
> >  - Makefile: add CFLAGS for "-I/usr/include/libxml2" to allow building
>=20
> ISTM the right fix is to use xml2-config.

Right, replacing the -I option with `xml2-config --cflags` works fine
and seems to be more portable. Fixed in arch head.

> > 25contrib-enablemysql:
> >  - enable mysql module build
> >  - add Makefile
> >  - fix hashbang of mysql2pgsql
> >=20
> > 25contrib-enableoracle:
> >  - enable oracle module build
> >  - add Makefile
> >  - patch ora2pg.pl to look for Ora2Pg.pm additionally in the path
> >    where ora2pg.pl is installed
> >=20
> > 26dbf2pg-errorcheck:
> >  - add better error checking to dbf2pg
> >=20
> > 27dbf2pg-textfield:
> >  - add dbf2pg support for the dbase field 'M' which corresponds to
> >    PostgreSQL's TEXT field
>=20
> I can't find these patches in this diff:>=20
> http://ftp.debian.org/debian/pool/main/p/postgresql/postgresql_7.4.6-2.di=
ff.gz
>=20
> could you tell me where to find them?

Right now only in arch head:
http://arch.debian.org/arch/pkg-postgresql/postgresql/

The three 25contrib* were split out of the 25contrib patch currently
in 7.4.6-2. The dbf2pg patches were added by me yesterday. I will
probably make a new upload soon, though.

Thanks for considering and have a nice day!

Martin

--=20
Martin Pitt                       http://www.piware.de
Ubuntu Developer            http://www.ubuntulinux.org
Debian GNU/Linux Developer       http://www.debian.org

--OwLcNYc0lM97+oe1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBhe4EDecnbV4Fd/IRAuFQAJ9p/OLsigipU5qWJ1BBs3E7mkzqqACfa81q
vBMxjaiD3o1JGYoWskweNow=
=ndpe
-----END PGP SIGNATURE-----

--OwLcNYc0lM97+oe1--