From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Larry Rosenman <ler(at)lerctr(dot)org> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: UnixWare Thread Patch (and test_fsync) |
Date: | 2004-03-18 23:27:39 |
Message-ID: | 200403182327.i2INRdH23001@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)lerctr(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-03-18 23:33:49 | Re: syntax error position "CREATE FUNCTION" bug fix |
Previous Message | Andrew Dunstan | 2004-03-18 23:00:58 | Re: [HACKERS] compile warning in CVS HEAD |