Обсуждение: thread-safety flag on Solaris 10

Поиск
Список
Период
Сортировка

thread-safety flag on Solaris 10

От
Dinesh Bhandary
Дата:
Hello -

We are installing Postgresql-9.1.3 from source against solaris 10, gcc
3.4.6 and it is fails when I enable thread-safety flag.
It install fine if I disable thread-safety flag. One of the options I am
looking into is upgrading gcc. Upgrading Solaris is not an option.
But before I do that, I would like to know the consequences of
installing pg without thread-safety. We do not use Slony, which I have
heard can break if I disabled thread-safety flag.
We use pgadmin, Java/jdbc to access postgres.

Here is the machine specs:

# uname -X
System = SunOS
Node = sierra-db.toledolibrary.org
Release = 5.10
KernelID = Generic_147440-23
Machine = sun4v
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 128

gcc version = 3.4.6
Thread model = posix


Please let me know.

Thanks.
Dinesh


Re: thread-safety flag on Solaris 10

От
Bruce Momjian
Дата:
On Tue, Oct 16, 2012 at 10:52:04AM -0700, Dinesh Bhandary wrote:
> Hello -
>
> We are installing Postgresql-9.1.3 from source against solaris 10,
> gcc 3.4.6 and it is fails when I enable thread-safety flag.
> It install fine if I disable thread-safety flag. One of the options
> I am looking into is upgrading gcc. Upgrading Solaris is not an
> option.
> But before I do that, I would like to know the consequences of
> installing pg without thread-safety. We do not use Slony, which I
> have heard can break if I disabled thread-safety flag.
> We use pgadmin, Java/jdbc to access postgres.
>
> Here is the machine specs:
>
> # uname -X
> System = SunOS
> Node = sierra-db.toledolibrary.org
> Release = 5.10
> KernelID = Generic_147440-23
> Machine = sun4v
> BusType = <unknown>
> Serial = <unknown>
> Users = <unknown>
> OEM# = 0
> Origin# = 1
> NumCPU = 128

Odd that failed.  It would be good to go through the config.log and find
out why the thread testing failed.  If you don't need client-level
threads, you should be fine.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +