Re: UnixWare Thread Patch (and test_fsync)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: UnixWare Thread Patch (and test_fsync)
Дата
Msg-id 200403182327.i2INRdH23001@candle.pha.pa.us
обсуждение исходный текст
Ответ на UnixWare Thread Patch (and test_fsync)  (Larry Rosenman <ler@lerctr.org>)
Список pgsql-patches
OK, all added to CVS head.  Thanks.

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

Larry Rosenman wrote:
-- Start of PGP signed section.
> Here is a patch for the UnixWare thread stuff (template only, not
> initdb), and to the test_fsync makefile to remove a gcc'ism:
>
> Index: src/template/unixware
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/template/unixware,v
> retrieving revision 1.30
> diff -u -r1.30 unixware
> --- src/template/unixware    11 Feb 2004 21:44:06 -0000    1.30
> +++ src/template/unixware    18 Mar 2004 21:39:25 -0000
> @@ -24,5 +24,9 @@
>    THREAD_CPPFLAGS="-K pthread"
>  fi
>
> -# tools/thread/thread_test must be run
> +THREAD_SUPPORT=yes
>  THREAD_CPPFLAGS="$THREAD_CPPFLAGS -D_REENTRANT"
> +STRERROR_THREADSAFE=yes
> +GETPWUID_THREADSAFE=yes
> +GETHOSTBYNAME_THREADSAFE=yes
> +
> Index: src/tools/fsync/Makefile
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/tools/fsync/Makefile,v
> retrieving revision 1.1
> diff -u -r1.1 Makefile
> --- src/tools/fsync/Makefile    18 Mar 2004 03:56:59 -0000    1.1
> +++ src/tools/fsync/Makefile    18 Mar 2004 21:39:26 -0000
> @@ -4,7 +4,7 @@
>  #
>  TARGET = test_fsync
>  XFLAGS =
> -CFLAGS = -g -Wall
> +CFLAGS = -O
>  LIBS =
>
>  $(TARGET) : test_fsync.o
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

[ Attachment, skipping... ]
-- End of PGP section, PGP failed!

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] compile warning in CVS HEAD
Следующее
От: Tom Lane
Дата:
Сообщение: Re: syntax error position "CREATE FUNCTION" bug fix