From: Silvio Brandani <silvio.brandani@tech.sdb.it>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: reindex script
Date: Wed, 10 Nov 2010 16:57:09 +0100
Message-ID: <4CDAC0D5.3020305@tech.sdb.it> (raw)
In-Reply-To: <4CDA46390200002500037500@gw.wicourts.gov>
References: <4CDA46390200002500037500@gw.wicourts.gov>
Kevin Grittner ha scritto:
> Silvio Brandani wrote:
>
>
>> Is it possible to use a reindex in a share lock mode ??
>>
>
> Check out the CONCURRENTLY keyword in CREATE INDEX:
>
> http://www.postgresql.org/docs/current/interactive/sql-createindex.html
>
> You could create a duplicate index concurrently, drop the old index,
> and rename the new one to the old name.
>
> -Kevin
>
>
we really need to migrate to version postges 9.x .
thanks,
---
Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalità amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/privacy/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
--
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: silvio.brandani@tech.sdb.it, Kevin.Grittner@wicourts.gov
Subject: Re: reindex script
In-Reply-To: <4CDAC0D5.3020305@tech.sdb.it>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox