-
- Downloads
Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY constraints all have real live entries in pg_constraint. pg_depend exists, and RESTRICT/CASCADE options work on most kinds of DROP; however, pg_depend is not yet very well populated with dependencies. (Most of the ones that are present at this point just replace formerly hardwired associations, such as the implicit drop of a relation's pg_type entry when the relation is dropped.) Need to add more logic to create dependency entries, improve pg_dump to dump constraints in place of indexes and triggers, and add some regression tests.
Showing
- doc/src/sgml/catalogs.sgml 318 additions, 73 deletionsdoc/src/sgml/catalogs.sgml
- doc/src/sgml/ref/alter_table.sgml 3 additions, 23 deletionsdoc/src/sgml/ref/alter_table.sgml
- doc/src/sgml/ref/comment.sgml 3 additions, 2 deletionsdoc/src/sgml/ref/comment.sgml
- doc/src/sgml/ref/drop_aggregate.sgml 19 additions, 2 deletionsdoc/src/sgml/ref/drop_aggregate.sgml
- doc/src/sgml/ref/drop_domain.sgml 12 additions, 16 deletionsdoc/src/sgml/ref/drop_domain.sgml
- doc/src/sgml/ref/drop_function.sgml 22 additions, 11 deletionsdoc/src/sgml/ref/drop_function.sgml
- doc/src/sgml/ref/drop_index.sgml 19 additions, 2 deletionsdoc/src/sgml/ref/drop_index.sgml
- doc/src/sgml/ref/drop_language.sgml 21 additions, 10 deletionsdoc/src/sgml/ref/drop_language.sgml
- doc/src/sgml/ref/drop_operator.sgml 19 additions, 2 deletionsdoc/src/sgml/ref/drop_operator.sgml
- doc/src/sgml/ref/drop_rule.sgml 20 additions, 2 deletionsdoc/src/sgml/ref/drop_rule.sgml
- doc/src/sgml/ref/drop_sequence.sgml 21 additions, 2 deletionsdoc/src/sgml/ref/drop_sequence.sgml
- doc/src/sgml/ref/drop_table.sgml 21 additions, 35 deletionsdoc/src/sgml/ref/drop_table.sgml
- doc/src/sgml/ref/drop_trigger.sgml 19 additions, 2 deletionsdoc/src/sgml/ref/drop_trigger.sgml
- doc/src/sgml/ref/drop_type.sgml 22 additions, 15 deletionsdoc/src/sgml/ref/drop_type.sgml
- doc/src/sgml/ref/drop_view.sgml 21 additions, 53 deletionsdoc/src/sgml/ref/drop_view.sgml
- doc/src/sgml/release.sgml 2 additions, 1 deletiondoc/src/sgml/release.sgml
- src/backend/bootstrap/bootparse.y 5 additions, 3 deletionssrc/backend/bootstrap/bootparse.y
- src/backend/catalog/Makefile 6 additions, 6 deletionssrc/backend/catalog/Makefile
- src/backend/catalog/dependency.c 731 additions, 0 deletionssrc/backend/catalog/dependency.c
- src/backend/catalog/heap.c 159 additions, 451 deletionssrc/backend/catalog/heap.c
Loading
Please register or sign in to comment