Skip site navigation (1) Skip section navigation (2)

Re: Index creation takes for ever

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ohp(at)pyrenet(dot)fr
Cc: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Index creation takes for ever
Date: 2003-08-28 16:19:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
ohp(at)pyrenet(dot)fr writes:
> 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...

That's weird.  I don't understand why an initdb in the same locale would
make the problem go away.

> I did'nt initdb between cvs changes, maybe that's why.

If you had only seen the problem in 7.4b then I could believe that theory,
but since you also saw it in the stable 7.3 installation, I don't.

> would LANG=C psql -c"reindex table blah" db would help?

No, the LANG environment of psql wouldn't make the slightest difference

I don't think you told us your platform?  (OS version, kernel, compiler,

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Andrew SullivanDate: 2003-08-28 16:19:53
Subject: Re: Hardware recommendations to scale to silly load
Previous:From: Tom LaneDate: 2003-08-28 16:13:33
Subject: Re: bug with constraint dependencies? or bug with

pgsql-patches by date

Next:From: ohpDate: 2003-08-28 16:57:02
Subject: Re: Index creation takes for ever
Previous:From: ohpDate: 2003-08-28 14:53:18
Subject: Re: Index creation takes for ever

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group