Fix unintended assignment of sequences to the containing schema's
Tom Lane <tgl@sss.pgh.pa.us>
Fix unintended assignment of sequences to the containing schema's default tablespace --- they should always go in the database's default tablespace. Adjust heap_create() API so that it is passed the relkind to make this easier; should simplify any further tweaking of the same sort.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/bootstrap/bootparse.y | modified | +2 −2 |
| src/backend/catalog/heap.c | modified | +32 −13 |
| src/backend/catalog/index.c | modified | +2 −2 |
| src/include/catalog/heap.h | modified | +2 −2 |