Skip to content
Browse files

trying to add DROP MATVIEW. gives assertion error

  • Loading branch information...
2 parents 4014dcf + 7313d31 commit c66709396a395cc71cfa81b30aef38202997a57f @bothra90 committed May 4, 2012
Showing with 9,746 additions and 9,739 deletions.
  1. +2 −1 src/backend/access/common/reloptions.c
  2. +2,074 −2,070 src/backend/catalog/heap.c
  3. +1 −0 src/backend/commands/matview.c
  4. +7,669 −7,668 src/backend/commands/tablecmds.c
View
3 src/backend/access/common/reloptions.c
@@ -1176,7 +1176,8 @@ heap_reloptions(char relkind, Datum reloptions, bool validate)
return (bytea *) rdopts;
case RELKIND_RELATION:
return default_reloptions(reloptions, validate, RELOPT_KIND_HEAP);
- default:
+ default:
+ printf("reloptions.c 1180: Default Case at heap_reloptions\n");
/* other relkinds are not supported */
return NULL;
}
View
4,144 src/backend/catalog/heap.c
2,074 additions, 2,070 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 src/backend/commands/matview.c
@@ -260,6 +260,7 @@ DefineMaterializedVirtualRelation(const RangeVar *relation, List *tlist, bool re
* is false).
*/
relid = DefineRelation(createStmt, RELKIND_MAT_VIEW, InvalidOid);
+ printf("relkind is: %c\n", RELKIND_MAT_VIEW);
Assert(relid != InvalidOid);
return relid;
}
View
15,337 src/backend/commands/tablecmds.c
7,669 additions, 7,668 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit c667093

Please sign in to comment.
Something went wrong with that request. Please try again.