Обсуждение: pgsql/ oc/src/sgml/trigger.sgml rc/backend/com ...

Поиск
Список
Период
Сортировка

pgsql/ oc/src/sgml/trigger.sgml rc/backend/com ...

От
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/04/01 17:36:13

Modified files:
    doc/src/sgml   : trigger.sgml
    src/backend/commands: command.c trigger.c
    src/backend/utils/adt: ri_triggers.c
    src/include/commands: trigger.h
    src/include/utils: rel.h

Log message:
    Add tgconstrrelid to stored Trigger structures, make RI trigger functions
    depend on this rather than the trigger argument strings to locate the
    other relation to test.  This makes RI triggers function properly in
    the presence of schemas and temp tables.  Along the way, fix bogus lack
    of locking in RI triggers, handle quoting of names fully correctly,
    compute required sizes of query buffers with some semblance of accuracy.