Thread: Re: About patches to PostgreSQL 7.1.3 for readline 4.1 & 4.2 in Cygwin

Re: About patches to PostgreSQL 7.1.3 for readline 4.1 & 4.2 in Cygwin

From
Jason Tishler
Date:
In the future, please post to pgsql-cygwin@postgresql.org instead of
sending private email so others can benefit too.

On Wed, Jan 09, 2002 at 08:13:07PM +0900, Hisaji ONO wrote:
> read your article about patches to PostgreSQL 7.1.3 for readline 4.1 &
> 4.2 in
http://www.google.com/search?q=cache:dEQHAaS05w8C:archives2.us.postgresql.org/pgsql-cygwin/2001-09/msg00002.php+cygwin+postgresql+7.1.3+readline+4.2&hl=ja
> this article, you written the following site where compalte patches about
> this problem.
>
>    http://fts.postgresql.org/db/mw/msg.html?mid=1030331
>
> But I could not access to above site.
>
> Could you tell me any other site where these patches locate?

See attached for the patch.  BTW, PostgreSQL CVS is slightly different
than this patch due an issue on a platform other than Cygwin or Linux
(which were the ones that I tested).

> I know pre-compiled PostgresSQL is available in Cygwin.
>
> But thess binaries were not compiled in multiple language mode. So for
> Japanese like me, above paches are needed,

Another alternative is to download the pre-patch source from any Cygwin
mirror and configure PostgreSQL as required.  For example:

    ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/contrib/postgresql/postgresql-7.1.3-1-src.tar.bz2

BTW, what configure option(s) are missing?  If the resulting PostgreSQL
builds OOTB, then I will configure the Cygwin PostgreSQL 7.2 package as
such when 7.2 is released.

Jason

Attachment

Re: About patches to PostgreSQL 7.1.3 for readline 4.1 & 4.2 in Cygwin

From
Jason Tishler
Date:
On Thu, Jan 10, 2002 at 02:31:04AM +0900, Hisaji ONO wrote:
>  Thank you very much, Mr. Tishler.
>
>  I could succeed to compile following codes and install them.

You are very welcome.

> > BTW, what configure option(s) are missing?  If the resulting PostgreSQL
> > builds OOTB, then I will configure the Cygwin PostgreSQL 7.2 package as
> > such when 7.2 is released.
>
>   Sorry, following configure's option for Japanese language.
>
>    ./configure --enable-multibyte=euc_jp

My pre-built PostgreSQL 7.1.3 is configured with '--enable-multibyte'.
I believe that this enables multibyte but defaults to ASCII.  Is that
not sufficient for your needs?  Note that I am very unfamiliar with this
multibyte stuff, so I am probably off-base here.

Jason