diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-25 04:06:58 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-25 04:06:58 +0000 |
commit | e093dcdd2853911ca1ad710581182dfcb6c78ea3 (patch) | |
tree | 59fc44746f9937abea6ad44e2098a8c3c4b7f7e6 /src/backend/parser/analyze.c | |
parent | 8f91e2b6071aaeae333f668d0f5d9189c5710a7a (diff) | |
download | postgresql-e093dcdd2853911ca1ad710581182dfcb6c78ea3.tar.gz postgresql-e093dcdd2853911ca1ad710581182dfcb6c78ea3.zip |
Add the ability to create indexes 'concurrently', that is, without
blocking concurrent writes to the table. Greg Stark, with a little help
from Tom Lane.
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r-- | src/backend/parser/analyze.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 8eb50fb573e..ae3469c86c7 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.347 2006/08/21 00:57:24 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.348 2006/08/25 04:06:51 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1488,6 +1488,7 @@ transformIndexConstraints(ParseState *pstate, CreateStmtContext *cxt) index->tableSpace = constraint->indexspace; index->indexParams = NIL; index->whereClause = NULL; + index->concurrent = false; /* * Make sure referenced keys exist. If we are making a PRIMARY KEY |