Search Postgresql Archives

Re: autovacuum vs. createdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 15 Jan 2008, Tom Lane wrote:

Ben <bench@xxxxxxxxxxxxxxx> 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?

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

              http://archives.postgresql.org/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux