Okay, so far,
I've reinitdb (on 7.4b) with LANG=C and it worked.
So I reinitDB with LANG=FR and used LANG=C to psql -f xxx.sql template1 to
recreate the db and it worked too...
I did'nt initdb between cvs changes, maybe that's why.
7.4b seems ok.
However, is there a way I can reindex on my 7.3.4 production
cluster cluster without an initdb?
would LANG=C psql -c"reindex table blah" db would help?
On Thu, 28 Aug 2003, Tom Lane wrote:
> Date: Thu, 28 Aug 2003 10:38:26 -0400
> From: Tom Lane <tgl@sss.pgh.pa.us>
> To: ohp@pyrenet.fr
> Cc: pgsql-hackers list <pgsql-hackers@postgresql.org>
> Subject: Re: [HACKERS] Index creation takes for ever
>
> ohp@pyrenet.fr writes:
> > This is on unixware 7 (both 7.3.4 and 7.4b)
>
> > I'm on the FR language (I'll re-initdb whith lang=C to see what happens)
>
> Okay. If you find it's still slow in C locale, the next thing to try
> would be forcing use of our own qsort, as we already do for Solaris.
> You'd need to tweak this bit in configure.in:
>
> # Solaris has a very slow qsort in certain cases, so we replace it.
> case $host_os in solaris*)
> AC_LIBOBJ(qsort) ;;
> esac
>
> I'm not sure why it's done that way though. 'Twould be better to let
> the per-platform template files determine it.
>
> regards, tom lane
>
--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)