Re: new rule syntax?
От | A. Kretschmer |
---|---|
Тема | Re: new rule syntax? |
Дата | |
Msg-id | 20060205131731.GA3313@webserv.wug-glas.de обсуждение исходный текст |
Ответ на | new rule syntax? ("A. R. Van Hook" <hook@lake-lotawana.mo.us>) |
Список | pgsql-sql |
am 05.02.2006, um 6:00:18 -0600 mailte A. R. Van Hook folgendes: > in previous versions (<8.1) the following rule declaration seemed to work > fine > create rule checks_d0 as > on delete to checks > do delete from checkitems > where ckid = checks.ckid; > in 8.1.2 I get > > ERROR: missing FROM-clause entry from table "checks" *untested*: create rule checks_d0 ason delete to checks do delete from checkitems, checks where checkitems.ckid = checks.ckid; Read please: http://www.postgresql.org/docs/8.1/interactive/release-8-1.html ,---- | add_missing_from is now false by default (Neil) | | By default, we now generate an error if a table is used in a query | without a FROM reference. The old behavior is still available, but the | parameter must be set to 'true' to obtain it. `---- HTH, Andreas -- Andreas Kretschmer (Kontakt: siehe Header) Heynitz: 035242/47215, D1: 0160/7141639 GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net=== Schollglas Unternehmensgruppe ===
В списке pgsql-sql по дате отправления: