Thread: Patching and installing from source

Patching and installing from source

From
"Mark McEahern"
Date:
Hi, I need to apply several patches to PostgreSQL to expand the length of
user and database names.  The current limit is 33 characters.  I am able to
do this in Linux, but I'm not quite sure how to do it in Cygwin since the
setup.exe installs PostgreSQL for me.

I know about this README:

  http://tishler.net/jason/software/postgresql/postgresql-7.2.README

It is quite helpful, just not for this problem, since I need to modify the
source before I compile PostgreSQL.

Are there any pointers/documentation for doing this?

I suppose my next step is to just try doing the configure/make/make install
dance from cygwin with the normal source.

Thanks,

// mark

-


Re: Patching and installing from source

From
Jason Tishler
Date:
Mark,

On Tue, Jul 09, 2002 at 02:46:10PM -0500, Mark McEahern wrote:
> Are there any pointers/documentation for doing this?

If Cygwin is setup up correctly, then the procedure is the same as under
Linux -- the "dance" referred to below...

> I suppose my next step is to just try doing the configure/make/make install
> dance from cygwin with the normal source.

Yup!  But, I would use the already patched (for Cygwin) source that you
can find on the Cygwin mirrors.  For example:

    http://mirrors.rcn.net/pub/sourceware/cygwin/release/postgresql/postgresql-7.2.1-2-src.tar.bz2

Jason