Re: [HACKERS] VACUUM ANALYZE problem on linux

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: phd2(at)earthling(dot)net, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] VACUUM ANALYZE problem on linux
Date: 1999-02-25 17:40:42
Message-ID: 199902251740.MAA07537@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Say, is it possible that your VACUUM problem is a locale-related bug?
>
> If init runs with a different locale setting than hand-started
> processes, then that would affect index ordering ... which could
> perhaps cause fatal problems while vacuuming indexes. I could
> believe that VACUUM is not able to cope with indexes that appear
> to be out of order according to the sort operators it's using.
>
> This line of thought leads to the idea that indexes had better be
> marked explicitly with the locale that they're for. Or else we
> need to change Postgres so that the locale setting is hard-wired
> at compile time and not dependent on environment variables.

That is an excellent point. I never considered that. In fact, initdb
would also need identical locale, wouldn't it.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-02-25 17:42:01 Re: [HACKERS] postmaster failure with 2-23 snapshot
Previous Message Terry Mackintosh 1999-02-25 17:39:10 Linux: semaphores: How?