From 265f904d8f25db2f0272921e25a1397f548d235d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 1 Dec 2007 23:44:44 +0000 Subject: Code review for LIKE ... INCLUDING INDEXES patch. Fix failure to propagate constraint status of copied indexes (bug #3774), as well as various other small bugs such as failure to pstrdup when needed. Allow INCLUDING INDEXES indexes to be merged with identical declared indexes (perhaps not real useful, but the code is there and having it not apply to LIKE indexes seems pretty unorthogonal). Avoid useless work in generateClonedIndexStmt(). Undo some poorly chosen API changes, and put a couple of routines in modules that seem to be better places for them. --- src/backend/bootstrap/bootparse.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/bootstrap') diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y index 3fd29b7e971..bd640804c46 100644 --- a/src/backend/bootstrap/bootparse.y +++ b/src/backend/bootstrap/bootparse.y @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.89 2007/07/17 05:02:00 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.90 2007/12/01 23:44:44 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -252,7 +252,7 @@ Boot_DeclareIndexStmt: LexIDStr($8), NULL, $10, - NULL, NIL, NULL, + NULL, NIL, false, false, false, false, false, true, false, false); do_end(); @@ -270,7 +270,7 @@ Boot_DeclareUniqueIndexStmt: LexIDStr($9), NULL, $11, - NULL, NIL, NULL, + NULL, NIL, true, false, false, false, false, true, false, false); do_end(); -- cgit v1.2.3