Re: postgresql on gentoo

From: Matt Kynaston <matt(at)kynx(dot)org>
To: Sim Zacks <sim(at)compulab(dot)co(dot)il>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql on gentoo
Date: 2005-03-09 18:38:02
Message-ID: 422F428A.9080305@kynx.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sim Zacks wrote:

>I just installed postgresql on a new gentoo server using emerge and I would
>like to add the citext module for a case insensitive text type. Emerge does
>not have a citext option in postgresql or package.

No, because it's not part of the postgres tarball. But the Gentoo
ebuilds _do_ make and install everything that's in /contrib.

>Does anyone know how to get the citext into postgresql on gentoo and will
>this break the next time I upgrade postgresql?

Either download and compile it by hand as outlined in it's readme
(you'll have to untar your postgres sources from /usr/portage/distfiles
and copy it to the contrib dir), or write an ebuild to do it for you.

But if you're going to do a lot of stuff that involves compiling
postgres, I'd recommend taking postgres out of portage's control. That
way you've always got your own source tree to work from and you can
tweak configure however you want. Just be sure to configure with
--prefix=/usr/local, so it's out the way of your portage-installed stuff.

Matt

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2005-03-09 18:43:56 Re: PostgreSQL still for Linux only?
Previous Message Tope Akinniyi 2005-03-09 18:30:17 Re: PostgreSQL still for Linux only?