Re: [HACKERS] build of 7.2.1 on SCO Openserver and Unixware

From: "Nicolas Bazin" <nbazin(at)ingenico(dot)com(dot)au>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Larry Rosenman" <ler(at)lerctr(dot)org>, "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] build of 7.2.1 on SCO Openserver and Unixware
Date: 2002-04-18 22:56:36
Message-ID: 008001c1e72c$c9a278d0$8428090a@software.ingenico.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Well then it means that we will have to make a difference between Unixware
7.1.1 and OpenUnix 8.0.

----- Original Message -----
From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Nicolas Bazin" <nbazin(at)ingenico(dot)com(dot)au>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>; "Larry Rosenman" <ler(at)lerctr(dot)org>;
"PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Sent: Friday, April 19, 2002 1:31 AM
Subject: Re: [PATCHES] [HACKERS] build of 7.2.1 on SCO Openserver and
Unixware

>
> Sorry, here is an updated patch. I didn't realize there were two QNX
> tests in the file.
>
> The patch has:
>
> case $host_platform in
> *-*-qnx* | *-*-sco3.2v5*)
> DIFFFLAGS=-b;;
> *)
> DIFFFLAGS=-w;;
> esac
>
> Is this correct. We don't need the sysv5? It is my understanding that
> sysv5 is much more than Open Server 8.
>
> --------------------------------------------------------------------------
-
>
> Nicolas Bazin wrote:
> > The patch from Bruce does not correct the proper thing. The original
patch I
> > submitted was :
> > *** postgresql-7.2.1-rc/src/test/regress/pg_regress.sh Tue Mar 26
16:49:04
> > 2002
> > --- postgresql-7.2.1/src/test/regress/pg_regress.sh Tue Mar 26 17:03:39
2002
> > ***************
> > *** 173,179 ****
> > # ----------
> > case $host_platform in
> > ! *-*-qnx*)
> > DIFFFLAGS=-b;;
> > *)
> > DIFFFLAGS=-w;;
> > --- 173,179 ----
> > # ----------
> > case $host_platform in
> > ! *-*-qnx* | *-*-sco3.2v5* | *-*-sysv5)
> > DIFFFLAGS=-b;;
> > *)
> > DIFFFLAGS=-w;;
> >
> > Because the diff tool that comes with Openserver or Unixware does not
suppor
> > the -w option but the -b option to remove blank characters.
> > There is nothing wrong with unix sockets on both platforms.
> >
> > Nicolas
> >
> > ----- Original Message -----
> > From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
> > To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
> > Cc: "Larry Rosenman" <ler(at)lerctr(dot)org>; "Nicolas Bazin"
> > <nbazin(at)ingenico(dot)com(dot)au>; "PostgreSQL-patches"
> > <pgsql-patches(at)postgresql(dot)org>
> > Sent: Thursday, April 18, 2002 1:15 PM
> > Subject: Re: [PATCHES] [HACKERS] build of 7.2.1 on SCO Openserver and
> > Unixware
> >
> >
> > > Peter Eisentraut wrote:
> > > > Bruce Momjian writes:
> > > >
> > > > > OK, new code is:
> > > > >
> > > > > ! *-*-qnx* | *beos* | *-*-sco3.2v5*)
> > > > ^^^^^^^^^^^^^
> > > >
> > > > I would like to see an explanation for this.
> > >
> > > The patch section is below. Not knowing the platform, I have no idea
> > > why.
> > >
> > > case $host_platform in
> > > ! *-*-qnx* | *beos* | *-*-sco3.2v5*)
> > > unix_sockets=no;;
> > > *)
> > > unix_sockets=yes;;
> > >
> > > --
> > > Bruce Momjian | http://candle.pha.pa.us
> > > pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> > > + If your life is a hard drive, | 830 Blythe Avenue
> > > + Christ can be your backup. | Drexel Hill, Pennsylvania
19026
> > >
> > > ---------------------------(end of
broadcast)---------------------------
> > > TIP 5: Have you checked our extensive FAQ?
> > >
> > > http://www.postgresql.org/users-lounge/docs/faq.html
> > >
> > >
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> >
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>

----------------------------------------------------------------------------
----

> Index: configure.in
> ===================================================================
> RCS file: /cvsroot/pgsql/configure.in,v
> retrieving revision 1.178
> diff -c -r1.178 configure.in
> *** configure.in 14 Apr 2002 17:23:20 -0000 1.178
> --- configure.in 18 Apr 2002 15:26:08 -0000
> ***************
> *** 696,703 ****
> AC_CHECK_LIB(util, setproctitle)
> AC_CHECK_LIB(m, main)
> AC_CHECK_LIB(dl, main)
> - AC_CHECK_LIB(socket, main)
> AC_CHECK_LIB(nsl, main)
> AC_CHECK_LIB(ipc, main)
> AC_CHECK_LIB(IPC, main)
> AC_CHECK_LIB(lc, main)
> --- 696,703 ----
> AC_CHECK_LIB(util, setproctitle)
> AC_CHECK_LIB(m, main)
> AC_CHECK_LIB(dl, main)
> AC_CHECK_LIB(nsl, main)
> + AC_CHECK_LIB(socket, main)
> AC_CHECK_LIB(ipc, main)
> AC_CHECK_LIB(IPC, main)
> AC_CHECK_LIB(lc, main)
> Index: src/interfaces/odbc/convert.c
> ===================================================================
> RCS file: /cvsroot/pgsql/src/interfaces/odbc/convert.c,v
> retrieving revision 1.78
> diff -c -r1.78 convert.c
> *** src/interfaces/odbc/convert.c 1 Apr 2002 03:01:14 -0000 1.78
> --- src/interfaces/odbc/convert.c 18 Apr 2002 15:26:23 -0000
> ***************
> *** 2717,2723 ****
> y = 0;
>
> for (i = 1; i <= 3; i++)
> ! y += (s[i] - 48) * (int) pow(8, 3 - i);
>
> return y;
>
> --- 2717,2723 ----
> y = 0;
>
> for (i = 1; i <= 3; i++)
> ! y += (s[i] - '0') << (3 * (3 - i));
>
> return y;
>
> ***************
> *** 2740,2746 ****
> else
> val = s[i] - '0';
>
> ! y += val * (int) pow(16, 2 - i);
> }
>
> return y;
> --- 2740,2746 ----
> else
> val = s[i] - '0';
>
> ! y += val << (4 * (2 - i));
> }
>
> return y;
> ***************
> *** 2795,2801 ****
>
> for (i = 4; i > 1; i--)
> {
> ! x[i] = (val & 7) + 48;
> val >>= 3;
> }
>
> --- 2795,2801 ----
>
> for (i = 4; i > 1; i--)
> {
> ! x[i] = (val & 7) + '0';
> val >>= 3;
> }
>
> Index: src/test/regress/pg_regress.sh
> ===================================================================
> RCS file: /cvsroot/pgsql/src/test/regress/pg_regress.sh,v
> retrieving revision 1.23
> diff -c -r1.23 pg_regress.sh
> *** src/test/regress/pg_regress.sh 3 Jan 2002 21:52:05 -0000 1.23
> --- src/test/regress/pg_regress.sh 18 Apr 2002 15:26:24 -0000
> ***************
> *** 173,179 ****
> # ----------
>
> case $host_platform in
> ! *-*-qnx*)
> DIFFFLAGS=-b;;
> *)
> DIFFFLAGS=-w;;
> --- 173,179 ----
> # ----------
>
> case $host_platform in
> ! *-*-qnx* | *-*-sco3.2v5*)
> DIFFFLAGS=-b;;
> *)
> DIFFFLAGS=-w;;
>

----------------------------------------------------------------------------
----

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-04-18 23:14:05 Schema (namespace) privilege details
Previous Message Nicolas Bazin 2002-04-18 22:53:59 Re: [HACKERS] build of 7.2.1 on SCO Openserver andUnixware

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-04-19 02:02:45 Odd(?) RI-trigger behavior
Previous Message Nicolas Bazin 2002-04-18 22:53:59 Re: [HACKERS] build of 7.2.1 on SCO Openserver andUnixware