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 ===