On Sat, Oct 27, 2012 at 4:20 PM, David Lee <davidomu...@gmail.com> wrote:
> Hey folks,
>
> It seems like right now when you want to create an index concurrently, the 
> index creation will get canceled if you cancel the statement (i.e. you must 
> keep your statement open).
>
> Is there a way to "launch" an index creation in the background so that the 
> statement doesn't need to be kept open?

Launch the session itself in the background.

For example, on linux:

psql -c 'create index concurrently ....' &

At some point, you will probably want to verify that the creation succeeded.

Cheers,

Jeff


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to