Re: autovacuum vs. createdb

From: Ben <bench(at)silentmedia(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: autovacuum vs. createdb
Date: 2008-01-16 00:20:12
Message-ID: Pine.LNX.4.64.0801151617500.30810@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 15 Jan 2008, Tom Lane wrote:

> Ben <bench(at)silentmedia(dot)com> writes:
>> I'm noticing a problem where autovacuum touching template1 when createdb
>> is run is making createdb fail. That's easy to work around when doing
>> things by hand (just run it again), but when running createdb with a
>> script, it's not so clear to me how to keep things working all the time.
>
> There's a fix for this in 8.3, but in existing releases about all you
> can do is make your script wait a few seconds and retry.

Can I assume createdb return non-zero in this case?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hannes Dorbath 2008-01-16 00:31:28 Re: Segmentation fault with 8.3 FTS ISpell
Previous Message Ivan Sergio Borgonovo 2008-01-16 00:12:07 advocacy: drupal and PostgreSQL