Thread: pgsql-server: Fix unintended assignment of sequences to the containing

pgsql-server: Fix unintended assignment of sequences to the containing

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql-server/src/backend/bootstrap:
        bootparse.y (r1.72 -> r1.73)

(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/bootstrap/bootparse.y.diff?r1=1.72&r2=1.73)
    pgsql-server/src/backend/catalog:
        heap.c (r1.275 -> r1.276)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/heap.c.diff?r1=1.275&r2=1.276)
        index.c (r1.238 -> r1.239)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/catalog/index.c.diff?r1=1.238&r2=1.239)
    pgsql-server/src/include/catalog:
        heap.h (r1.70 -> r1.71)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/catalog/heap.h.diff?r1=1.70&r2=1.71)

Re: pgsql-server: Fix unintended assignment of sequences

From
Fabien COELHO
Date:
Dear Tom,

> Fix unintended assignment of sequences to the containing schema's
> default tablespace

You might consider fixing the "CREATE SCHEMA" documentation as well.

Thanks, have a nice day,

--
Fabien Coelho - coelho@cri.ensmp.fr

Re: pgsql-server: Fix unintended assignment of sequences

From
Tom Lane
Date:
Fabien COELHO <coelho@cri.ensmp.fr> writes:
> You might consider fixing the "CREATE SCHEMA" documentation as well.

Good catch --- thanks!

            regards, tom lane