git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b1110aa) | patch
Support arrays of composite types, including the rowtypes of regular tables
2007年5月11日 17:57:14 +0000 (17:57 +0000)
2007年5月11日 17:57:14 +0000 (17:57 +0000)
commit bc8036fc666a8f846b1d4b2f935af7edd90eb5aa
Support arrays of composite types, including the rowtypes of regular tables
and views (but not system catalogs, nor sequences or toast tables). Get rid
of the hardwired convention that a type's array type is named exactly "_type",
instead using a new column pg_type.typarray to provide the linkage. (It still
will be named "_type", though, except in odd corner cases such as
maximum-length type names.)

Along the way, make tracking of owner and schema dependencies for types more
uniform: a type directly created by the user has these dependencies, while a
table rowtype or auto-generated array type does not have them, but depends on
its parent object instead.

David Fetter, Andrew Dunstan, Tom Lane
25 files changed:
doc/src/sgml/array.sgml diff | blob | blame | history
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/ref/create_type.sgml diff | blob | blame | history
doc/src/sgml/syntax.sgml diff | blob | blame | history
src/backend/catalog/README diff | blob | blame | history
src/backend/catalog/heap.c diff | blob | blame | history
src/backend/catalog/pg_shdepend.c diff | blob | blame | history
src/backend/catalog/pg_type.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/commands/typecmds.c diff | blob | blame | history
src/backend/parser/parse_type.c diff | blob | blame | history
src/backend/utils/cache/lsyscache.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.h diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_attribute.h diff | blob | blame | history
src/include/catalog/pg_class.h diff | blob | blame | history
src/include/catalog/pg_type.h diff | blob | blame | history
src/include/commands/typecmds.h diff | blob | blame | history
src/test/regress/expected/alter_table.out diff | blob | blame | history
src/test/regress/expected/oidjoins.out diff | blob | blame | history
src/test/regress/expected/type_sanity.out diff | blob | blame | history
src/test/regress/sql/oidjoins.sql diff | blob | blame | history
src/test/regress/sql/type_sanity.sql diff | blob | blame | history
src/tools/findoidjoins/README diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /