Search Postgresql Archives

Re: rules and rows affected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Roberto Icardi" <roberto_icardi@xxxxxxxxxxx> writes:
> Everything works perfectly... BUT the query returns always 0 rows affected, 
> even if one record is inserted or deleted in friends_hobbies...why??

The rules for this are explained here:
http://www.postgresql.org/docs/8.2/static/rules-status.html

If you're replacing an update with a delete you're not going to get far
with that.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux