Hi Tom,
I've made some tests with your qsort and it DEFINITIVLY help
~3 mn instead of 69.

However this is for 7.3.4 I've got no probs with 7.4b.
Did something change in btree creation?
On Mon, 1 Sep 2003, Tom Lane wrote:

> Date: Mon, 01 Sep 2003 08:46:09 -0400
> From: Tom Lane <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Cc: pgsql-hackers list <[EMAIL PROTECTED]>
> Subject: Re: [HACKERS] Index creation takes for ever
>
> [EMAIL PROTECTED] writes:
> > it took 69 minutes to finish, 75% of this time was devoted to create 2
> > indexes on varchar(2) with value being 'O', 'N' or null;
> > I wonder if it's a configuration matter.
>
> I still say it's either strcoll or qsort's fault.  Try swapping in our
> own version of qsort to see if the behavior changes.
>
>                       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: [EMAIL PROTECTED]
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to